TData.h
uint32_t data_count
Size of data as stored in buffer (bytes)
Definition: player_interfaces.h:3447
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:159
#define PLAYER_POINTCLOUD3D_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:4849
uint8_t blue
Blue color channel.
Definition: player_interfaces.h:5292
double ReadFloat(int section, const char *name, double value)
Read a floating point (double) value.
virtual int MainSetup(void)
Sets up the resources needed by the driver thread.
Definition: driver.h:658
virtual void MainQuit(void)
Cleanup method for driver thread (called when main exits)
Definition: driver.h:664
uint8_t type
Message type; must be one of PLAYER_MSGTYPE_*.
Definition: player.h:166
const char * ReadString(int section, const char *name, const char *value)
Read a string value.
Data: Get cloud (PLAYER_POINTCLOUD3D_DATA_STATE) The basic 3dcloudpoint data packet.
Definition: player_interfaces.h:4874
uint8_t red
Red color channel.
Definition: player_interfaces.h:5288
#define PLAYER_OPAQUE_DATA_STATE
Data subtype: generic state.
Definition: player_interfaces.h:3429
Definition: TData.h:73
#define PLAYER_CAMERA_FORMAT_MONO16
Image format : 16-bit monochrome (network byte order).
Definition: player_interfaces.h:2938
#define PLAYER_MSGTYPE_RESP_ACK
A positive response message.
Definition: player.h:112
#define PLAYER_CAMERA_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:2922
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
static bool MatchDeviceAddress(player_devaddr_t addr1, player_devaddr_t addr2)
Compare two addresses.
Definition: device.h:201
#define PLAYER_MSGTYPE_RESP_NACK
A negative response message.
Definition: player.h:125
#define PLAYER_GET_INTPROP_REQ
Integer property get request subtype.
Definition: player.h:430
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
Definition: TData.h:52
Definition: TData.h:41
#define PLAYER_STEREO_DATA_STATE
Data: state (PLAYER_STEREO_DATA_STATE)
Definition: player_interfaces.h:5276
virtual bool RegisterProperty(const char *key, Property *property, ConfigFile *cf, int section)
Property registration.
#define PLAYER_CAMERA_COMPRESS_RAW
Compression method: raw.
Definition: player_interfaces.h:2945
double timestamp
Time associated with message contents (seconds since epoch)
Definition: player.h:170
Definition: TData.h:63
3D Pointcloud element structure An element as stored in a 3D pointcloud, containing a 3D position plu...
Definition: player_interfaces.h:4856
#define PLAYER_OPAQUE_CMD_DATA
Cmd subtype: generic command.
Definition: player_interfaces.h:3432
Definition: TData.h:57
Definition: player_interfaces.h:5279
uint8_t green
Green color channel.
Definition: player_interfaces.h:5290
#define PLAYER_SET_INTPROP_REQ
Integer property set request subtype.
Definition: player.h:432
Definition: TData.h:47
player_devaddr_t addr
Device to which this message pertains.
Definition: player.h:164
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76
uint8_t * data
The data we will be sending.
Definition: player_interfaces.h:3449