CANControllerInterface Struct Reference

An interface describing a generic CANController. More...

#include <CANControllerInterface.hpp>

Inheritance diagram for CANControllerInterface:

CANDeviceInterface CANListenerInterface CANPieController PCANController

List of all members.

Public Types

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

Public Member Functions

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

Public Attributes

NodeStatus status
 The state of this device.


Detailed Description

An interface describing a generic CANController.

The controller will put all messages to be processed on the physical CAN bus and put physical CAN messages on the software bus.

Definition at line 41 of file CANControllerInterface.hpp.


Member Function Documentation

virtual void process ( const CANMessage msg  )  [pure virtual, inherited]

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.

Implemented in CANDummyDevice, CANPieController, CANRequest, NodeGuard, and PCANController.

Referenced by CANOpenBus::write().


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