#include <CompactBHA.h>
Public Member Functions | |
| void | setComId (const ComId &id) |
| void | connectToServer () |
| void | disconnectFromServer () |
| void | setAddress (const std::string &address) |
| std::string | address () const |
| bool | isConnected () const |
| void | setPressures (const std::vector< float > &pressures) |
| virtual void | readingsCallback (const std::vector< float > &pressures) |
| virtual void | error (const std::string &message) |
| virtual void | log (const std::string &message) |
| virtual void | connected () |
| virtual void | disconnected () |
| void rec::robotino::com::CompactBHA::setComId | ( | const ComId & | id | ) |
Sets the associated communication object.
| id | The id of the associated communication object. |
| RobotinoException | If the given communication object doesn't provide a camera. |
| void rec::robotino::com::CompactBHA::connectToServer | ( | ) |
Normally the CompactBHA's data exchange client is connected to Robotino by calling Com::connect(). For debugging you might want to only connect to the CompactBHA server on Robotino.
| void rec::robotino::com::CompactBHA::disconnectFromServer | ( | ) |
Normally the CompactBHA's data exchange client is disconnected from Robotino by calling Com::disconnect(). For debugging you might want to only disconnect from the CompactBHA server on Robotino.
| void rec::robotino::com::CompactBHA::setAddress | ( | const std::string & | address | ) |
Normally the address of the CompactBHA server is given implicitly by calling Com::setAddress For debugging you might want to set the address explicitly.
1.5.5