Message types
[Messaging basics]

Collaboration diagram for Message types:


Detailed Description

The Player message types.

#define PLAYER_MSGTYPE_DATA   1
 A data message.
#define PLAYER_MSGTYPE_CMD   2
 A command message.
#define PLAYER_MSGTYPE_REQ   3
 A request message.
#define PLAYER_MSGTYPE_RESP_ACK   4
 A positive response message.
#define PLAYER_MSGTYPE_SYNCH   5
 A synch message.
#define PLAYER_MSGTYPE_RESP_NACK   6
 A negative response message.

Define Documentation

#define PLAYER_MSGTYPE_CMD   2

#define PLAYER_MSGTYPE_DATA   1

#define PLAYER_MSGTYPE_REQ   3

#define PLAYER_MSGTYPE_RESP_ACK   4

#define PLAYER_MSGTYPE_RESP_NACK   6

A negative response message.

Such messages are published in response to a PLAYER_MSGTYPE_REQ. This messages indicates that the underlying driver did not process the message. Possible causes include: the driver's message queue was full, the driver failed to interpret the request, or the the driver does not support the request. This message will have no data in the body.

Definition at line 121 of file player.h.

Referenced by SegwayRMP::HandlePositionConfig(), ToRanger::ProcessMessage(), LifoMCom::ProcessMessage(), LaserTransform::ProcessMessage(), Khepera::ProcessMessage(), and ER::ProcessMessage().

#define PLAYER_MSGTYPE_SYNCH   5

A synch message.

Only used in PLAYER_DATAMODE_PULL mode. Sent at the end of the set of messages that are sent in response to a PLAYER_PLAYER_REQ_DATA request.

Definition at line 113 of file player.h.


Last updated 12 September 2005 21:38:45