QueryVelocityCommand Message Implementation. More...
#include <QueryVelocityCommand.h>
Inherits openjaus::model::Message.
Public Member Functions | |
| QueryVelocityCommand () | |
| QueryVelocityCommand (model::Message *message) | |
| ~QueryVelocityCommand () | |
| virtual int | to (system::Buffer *dst) |
| Pack this message to the given openjaus::system::Buffer. | |
| virtual int | from (system::Buffer *src) |
| Unpack this message from the given openjaus::system::Buffer. | |
| virtual int | length () |
| Get the number of bytes this message would occupy in a serialized buffer. | |
| std::string | toXml (unsigned char level=0) const |
| Used to serialize the runtime state of the message to an XML format. | |
| uint8_t | getQueryPresenceVector (void) |
| void | setQueryPresenceVector (uint8_t value) |
| VelocityCommandTypeEnumeration::VelocityCommandTypeEnum | getCommandType (void) |
| void | setCommandType (VelocityCommandTypeEnumeration::VelocityCommandTypeEnum value) |
Static Public Attributes | |
| static const uint16_t | ID = 0x2415 |
Private Attributes | |
| model::fields::UnsignedByte | queryPresenceVector |
| VelocityCommandTypeEnumeration | commandType |
This message shall cause the receiving component to reply to the requestor with a ID 4415h: ReportVelocityCommand message. Field #2 specifies the fields to be returned in the Report Velocity Command message.
| openjaus::mobility::QueryVelocityCommand::QueryVelocityCommand | ( | ) |
| openjaus::mobility::QueryVelocityCommand::QueryVelocityCommand | ( | model::Message * | message | ) |
| openjaus::mobility::QueryVelocityCommand::~QueryVelocityCommand | ( | ) |
| int openjaus::mobility::QueryVelocityCommand::from | ( | system::Buffer * | src | ) | [virtual] |
src - The source openjaus::system::Buffer from which this message will be unpacked.
Reimplemented from openjaus::model::Message.
| VelocityCommandTypeEnumeration::VelocityCommandTypeEnum openjaus::mobility::QueryVelocityCommand::getCommandType | ( | void | ) |
| uint8_t openjaus::mobility::QueryVelocityCommand::getQueryPresenceVector | ( | void | ) |
| int openjaus::mobility::QueryVelocityCommand::length | ( | void | ) | [virtual] |
The number of bytes this message would occupy in a buffer
Reimplemented from openjaus::model::Message.
| void openjaus::mobility::QueryVelocityCommand::setCommandType | ( | VelocityCommandTypeEnumeration::VelocityCommandTypeEnum | value | ) |
| void openjaus::mobility::QueryVelocityCommand::setQueryPresenceVector | ( | uint8_t | value | ) |
| int openjaus::mobility::QueryVelocityCommand::to | ( | system::Buffer * | dst | ) | [virtual] |
dst - The destination openjaus::system::Buffer to which this message will be packed.
Reimplemented from openjaus::model::Message.
| std::string openjaus::mobility::QueryVelocityCommand::toXml | ( | unsigned char | level = 0 |
) | const |
level - Used to determine how many tabs are inserted per line for pretty formating.
const uint16_t openjaus::mobility::QueryVelocityCommand::ID = 0x2415 [static] |
1.7.1