CANDummyDevice Struct Reference

A dummy CANOpen device with node ID 255. More...

#include <CANMessage.hpp>

Inheritance diagram for CANDummyDevice:

CANDeviceInterface CANListenerInterface

List of all members.

Public Types

enum  NodeStatus {
  PowerOff, Initialisation, PreOperational, Stopped,
  Operational
}
 The CANOpen State Diagram of a Device.

Public Member Functions

virtual void process (const CANMessage *msg)
 This method instructs the CANDeviceInterface instance to process a certain CANMessage.
virtual unsigned int nodeId () const
 Returns the node ID of this device.

Public Attributes

NodeStatus status
 The state of this device.


Detailed Description

A dummy CANOpen device with node ID 255.

Definition at line 46 of file CANMessage.hpp.


Member Function Documentation

virtual void process ( const CANMessage msg  )  [inline, virtual]

This method instructs the CANDeviceInterface instance to process a certain CANMessage.

You are not the owner of msg.

Parameters:
msg The message to be processed by this instance.
Invariant:
Only this may be removed from the CANBusInterface during process.

Implements CANListenerInterface.

Definition at line 48 of file CANMessage.hpp.


The documentation for this struct was generated from the following file:

Generated on Tue Aug 25 14:09:55 2009 for OrocosComponentLibrary by  doxygen 1.5.8