Common device info. More...
#include <playerc.h>
Detailed Description
Common device info.
Public Attributes | |
void * | id |
A useful ID for identifying devices; mostly used by other language bindings. More... | |
playerc_client_t * | client |
Pointer to the client proxy. More... | |
player_devaddr_t | addr |
Device address. | |
char | drivername [PLAYER_MAX_DRIVER_STRING_LEN] |
The driver name. More... | |
int | subscribed |
The subscribe flag is non-zero if the device has been successfully subscribed (read-only). More... | |
double | datatime |
Data timestamp, i.e., the time at which the data was generated (s). More... | |
double | lasttime |
Data timestamp from the previous data. More... | |
int | fresh |
Freshness flag. More... | |
int | freshgeom |
Freshness flag. More... | |
int | freshconfig |
Freshness flag. More... | |
playerc_putmsg_fn_t | putmsg |
Standard message callback for this device. More... | |
void * | user_data |
Extra user data for this device. More... | |
int | callback_count |
Extra callbacks for this device. More... | |
playerc_callback_fn_t | callback [4] |
void * | callback_data [4] |
Member Data Documentation
◆ callback_count
int _playerc_device_t::callback_count |
Extra callbacks for this device.
◆ client
playerc_client_t* _playerc_device_t::client |
Pointer to the client proxy.
◆ datatime
double _playerc_device_t::datatime |
Data timestamp, i.e., the time at which the data was generated (s).
Referenced by PlayerCc::ClientProxy::GetDataTime(), PlayerCc::ClientProxy::GetElapsedTime(), and PlayerCc::ClientProxy::IsValid().
◆ drivername
char _playerc_device_t::drivername[PLAYER_MAX_DRIVER_STRING_LEN] |
The driver name.
Referenced by PlayerCc::ClientProxy::GetDriverName().
◆ fresh
int _playerc_device_t::fresh |
Freshness flag.
Set to 1 whenever data is dispatched to this proxy. Useful with the multi-client, but the user must manually set it to 0 after using the data.
◆ freshconfig
int _playerc_device_t::freshconfig |
Freshness flag.
Set to 1 whenever data is dispatched to this proxy. Useful with the multi-client, but the user must manually set it to 0 after using the data.
◆ freshgeom
int _playerc_device_t::freshgeom |
Freshness flag.
Set to 1 whenever data is dispatched to this proxy. Useful with the multi-client, but the user must manually set it to 0 after using the data.
◆ id
void* _playerc_device_t::id |
A useful ID for identifying devices; mostly used by other language bindings.
For backwards-compatibility, this is passed as void pointer.
◆ lasttime
double _playerc_device_t::lasttime |
Data timestamp from the previous data.
Referenced by PlayerCc::ClientProxy::GetElapsedTime().
◆ putmsg
playerc_putmsg_fn_t _playerc_device_t::putmsg |
Standard message callback for this device.
◆ subscribed
int _playerc_device_t::subscribed |
The subscribe flag is non-zero if the device has been successfully subscribed (read-only).
◆ user_data
void* _playerc_device_t::user_data |
Extra user data for this device.
The documentation for this struct was generated from the following file: