Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

_playerc_device_t Struct Reference
[Device API]

#include <playerc.h>

List of all members.


Detailed Description

Common device info.


Public Attributes

void * id
playerc_client_tclient
int code
int index
char drivername [PLAYER_MAX_DEVICE_STRING_LEN]
int subscribed
double datatime
int fresh
playerc_putdata_fn_t putdata
void * user_data
int callback_count
playerc_callback_fn_t callback [4]
void * callback_data [4]


Member Data Documentation

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.

playerc_client_t* _playerc_device_t::client
 

Pointer to the client proxy.

int _playerc_device_t::code
 

Device code, index.

int _playerc_device_t::index
 

Device code, index.

char _playerc_device_t::drivername[PLAYER_MAX_DEVICE_STRING_LEN]
 

The driver name.

int _playerc_device_t::subscribed
 

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

double _playerc_device_t::datatime
 

Data timestamp, i.e., the time at which the data was generated (s).

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.

playerc_putdata_fn_t _playerc_device_t::putdata
 

Standard callbacks for this device.

For internal use only.

void* _playerc_device_t::user_data
 

Extra user data for this device.

For internal use only.

int _playerc_device_t::callback_count
 

Extra callbacks for this device.

For internal use only.

playerc_callback_fn_t _playerc_device_t::callback[4]
 

void* _playerc_device_t::callback_data[4]
 


The documentation for this struct was generated from the following file:
Generated on Tue May 3 14:15:46 2005 for Player by doxygen 1.3.6