Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

rovsoft::io::MotionCommandReceiverContainer Class Reference

MotionCommandReceiver container. More...

#include <MotionCommandReceiverContainer.hh>

Inheritance diagram for rovsoft::io::MotionCommandReceiverContainer:

Inheritance graph
[legend]
Collaboration diagram for rovsoft::io::MotionCommandReceiverContainer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MotionCommandReceiverContainer (messages::NewMessageReceiverListener *rListener=0, messages::NewMotionCommandReceiverListener *mcrListener=0)
 Construct a device container with specified listeners, which should receive events about newly created devices.
messages::MotionCommandMessageReceivergetMotionCommandMessageReceiver (unsigned char index) throw (lib::NullPointerExceptionPtr, lib::OutOfRangeExceptionPtr)
 Gets the motion command receiver specified with index.
void setNewMotionCommandReceiverListener (messages::NewMotionCommandReceiverListener *listener)
virtual void putMotionCommandMessage (const messages::MotionCommandMessagePtr message) throw (lib::ExceptionPtr, lib::NullPointerExceptionPtr, lib::OutOfRangeExceptionPtr)
 Send a message to this receiver.

Protected Member Functions

virtual void newDevice (MessageStreamParser *&obj, messages::MessageReceiver *interface)
 Creates a motion command receiver device.

Protected Attributes

messages::NewMotionCommandReceiverListenernewMotionCommandReceiverListener

Detailed Description

MotionCommandReceiver container.

Should manage MotionCommandReceiver devices. (Forward message streams, create them, ..)


Constructor & Destructor Documentation

rovsoft::io::MotionCommandReceiverContainer::MotionCommandReceiverContainer messages::NewMessageReceiverListener rListener = 0,
messages::NewMotionCommandReceiverListener mcrListener = 0
[inline]
 

Construct a device container with specified listeners, which should receive events about newly created devices.

Parameters:
rListener A general new receiver device listener, that will be informed about any new MotionCommandReceiver device.
mcrListener A new motion command receiver listener, that will be informed about any new Motion command receiver device.


Member Function Documentation

messages::MotionCommandMessageReceiver & rovsoft::io::MotionCommandReceiverContainer::getMotionCommandMessageReceiver unsigned char  index  )  throw (lib::NullPointerExceptionPtr, lib::OutOfRangeExceptionPtr)
 

Gets the motion command receiver specified with index.

Parameters:
index The index of the desired motion command receiver, the interface defined in namespace messages is returned.

void rovsoft::io::MotionCommandReceiverContainer::newDevice MessageStreamParser *&  obj,
messages::MessageReceiver interface
[protected, virtual]
 

Creates a motion command receiver device.

and informs newMotionCommandReceiverListener about that.

Implements rovsoft::io::DeviceContainer.

Here is the call graph for this function:

void rovsoft::io::MotionCommandReceiverContainer::putMotionCommandMessage const messages::MotionCommandMessagePtr  message  )  throw (lib::ExceptionPtr, lib::NullPointerExceptionPtr, lib::OutOfRangeExceptionPtr) [virtual]
 

Send a message to this receiver.

Parameters:
message The message to send to this object.

Implements rovsoft::messages::MotionCommandMessageReceiver.

void rovsoft::io::MotionCommandReceiverContainer::setNewMotionCommandReceiverListener messages::NewMotionCommandReceiverListener listener  )  [inline]
 


Member Data Documentation

messages::NewMotionCommandReceiverListener* rovsoft::io::MotionCommandReceiverContainer::newMotionCommandReceiverListener [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue May 31 14:19:36 2005 for Rovsoft by  doxygen 1.4.3