#include <NConfirmedCommandSender.hh>
Inheritance diagram for rovsoft::io::NConfirmedCommandSender:
Public Member Functions | |
NConfirmedCommandSender (messages::MessageReceiver *out=0) | |
virtual void | parseMessageStream (unsigned short sa, unsigned short da, IStreamer &stream, messages::MessageReceiver *out=0) throw (lib::ExceptionPtr) |
This method tries to read the data part of a message from the stream specified by stream. | |
virtual void | setNMotionCommandReceiver (messages::NMotionCommandMessageReceiver &listener) |
Use this method to set a listener to which this object will send numbered motion command messages. | |
virtual void | setNBoolCommandReceiver (messages::NBoolCommandMessageReceiver &listener) |
Use this method to set a listener to which this object will send numbered bool command messages. | |
virtual void | putNConfirmationMessage (messages::NConfirmationMessagePtr message) |
Use this method to confirm a command. | |
Static Public Attributes | |
static const unsigned short | type = 0x0000 |
The command sender type. |
This class can create messages from an IStreamer. The method parseMessageStream will block until at least one receiver is set.
Don't get confused with the messages::NConfirmedCommandMessageSender class, its the general interface for classes sending numbered confirmed command messages.
|
|
|
This method tries to read the data part of a message from the stream specified by stream.
Reimplemented from rovsoft::io::Receiver. Here is the call graph for this function: ![]() |
|
Use this method to confirm a command. Objects of this class want a confirmation for all the commands they have sent. Such a confirmation message must have a number equal to that of the command being confirmed and a status field. Implements rovsoft::messages::NConfirmationMessageReceiver. Here is the call graph for this function: ![]() |
|
Use this method to set a listener to which this object will send numbered bool command messages.
Implements rovsoft::messages::NBoolCommandMessageSender. Here is the call graph for this function: ![]() |
|
Use this method to set a listener to which this object will send numbered motion command messages.
Reimplemented from rovsoft::messages::NMotionCommandMessageSender. Here is the call graph for this function: ![]() |
|
The command sender type.
|