_playerc_device_t Struct Reference
[Device API]

#include <playerc.h>

List of all members.


Detailed Description

Common device info.


Public Attributes

void * id
 A useful ID for identifying devices; mostly used by other language bindings.
playerc_client_tclient
 Pointer to the client proxy.
player_devaddr_t addr
 Device address.
char drivername [PLAYER_MAX_DRIVER_STRING_LEN]
 The driver name.
int subscribed
 The subscribe flag is non-zero if the device has been successfully subscribed (read-only).
double datatime
 Data timestamp, i.e., the time at which the data was generated (s).
double lasttime
 Data timestamp from the previous data.
int fresh
 Freshness flag.
int freshgeom
 Freshness flag.
int freshconfig
 Freshness flag.
playerc_putmsg_fn_t putmsg
 Standard message callback for this device.
void * user_data
 Extra user data for this device.
int callback_count
 Extra callbacks for this device.
playerc_callback_fn_t callback [4]
void * callback_data [4]

Member Data Documentation

A useful ID for identifying devices; mostly used by other language bindings.

For backwards-compatibility, this is passed as void pointer.

Pointer to the client proxy.

char _playerc_device_t::drivername[PLAYER_MAX_DRIVER_STRING_LEN]

The driver name.

Referenced by PlayerCc::ClientProxy::GetDriverName().

The subscribe flag is non-zero if the device has been successfully subscribed (read-only).

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().

Data timestamp from the previous data.

Referenced by PlayerCc::ClientProxy::GetElapsedTime().

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.

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.

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.

Standard message callback for this device.

For internal use only.

Extra user data for this device.

For internal use only.

Extra callbacks for this device.

For internal use only.


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

Last updated 12 September 2005 21:38:45