rec::robotino::com::Info Class Reference

Retrieves informational messages from Robotino. More...

#include <Info.h>

List of all members.

Public Member Functions

void setComId (const ComId &id)
const char * text () const
unsigned int firmwareVersion () const
bool isPassiveMode () const
virtual void infoReceivedEvent (const char *text)


Detailed Description

Retrieves informational messages from Robotino.

Member Function Documentation

void rec::robotino::com::Info::setComId ( const ComId id  ) 

Sets the associated communication object.

Parameters:
id The id of the associated communication object.
Exceptions:
RobotinoException If the given communication object doesn't exist.

const char* rec::robotino::com::Info::text (  )  const

Gets the current text message of this device.

Returns:
The current text message.
Exceptions:
RobotinoException if the current communication object is invalid.

unsigned int rec::robotino::com::Info::firmwareVersion (  )  const

Returns:
Returns the firmware version of Robotino's I/O board.
Exceptions:
RobotinoException if the current communication object is invalid.

bool rec::robotino::com::Info::isPassiveMode (  )  const

Returns:
Returns true, if this is a connection in passive mode. Passive mode means that you can read Robotino's sensors. But you do not have access to Robotino's actors.
See also:
modeChangedEvent()

virtual void rec::robotino::com::Info::infoReceivedEvent ( const char *  text  )  [virtual]

Called on info receive. Note: This function is called from outside the applications main thread. This is extremely important particularly with regard to GUI applications.

Parameters:
text The info messages text
Exceptions:
nothing. 


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

Generated on Wed Jun 29 04:16:56 2011 for rec::robotino::com by  doxygen 1.5.5