ImuClient Class Reference
This class is responsible of the client logic. His main target is to subscribe to the server information (getPeriodicInertialValues()) as well as to ask for information to the server (getConfigImu()). Finally, this client enables to change any property of the IMU device. (setConfigImu())
#include <imuClient>
Inheritance diagram for ImuClient:
Public Member Functions | |
ImuClient (std::string ip, int dport, int sport) | |
void | asyncGetConfigImu (dpyImu::configimu_handler_function handler, int num_property) |
void | asyncSetConfigImu (dpyImu::set_handler_function handler, int num_property, std::string value) |
void | asyncGetInertialValues (dpyImu::infoimu_handler_function handler, int device_number) |
void | getInertialValues_S (dpyImu::infoimu_handler_function handler) |
void | getInertialValues_U () |
Public Member Functions inherited from DpyMwClient | |
DpyMwClient (std::string &ip, int dport, int sport) | |
void | start () |
void | stop () |
void | subscribe (int messageType, boost::any handler) |
void | unsubscribe (int messageType) |
bool | isAlive () |
void | monitorServiceAvailability_S (const f_hearbeat_handler &handler) |
void | monitorServiceAvailability_U () |
Additional Inherited Members | |
Protected Member Functions inherited from DpyMwClient | |
void | sendRequest (int requestType, int responseType, std::string content, boost::any handler, int ms_timeout=2000) |
Protected Attributes inherited from DpyMwClient | |
map_proto_register_client | m_register_map |
std::mutex | m_map_mutex |