DUNE: Uniform Navigational Environment
2.6.0-rc4
|
Public Member Functions | |
PacketTx (void) | |
Public Member Functions inherited from Transports::SUNSET::AbstractCommand | |
AbstractCommand (void) | |
AbstractCommand (const std::string &name, unsigned version=0) | |
virtual | ~AbstractCommand (void) |
void | clear (void) |
AbstractCommand & | setVersion (unsigned version) |
unsigned | getVersion (void) const |
AbstractCommand & | setName (const std::string &name) |
std::string | getName (void) const |
AbstractCommand & | setSource (unsigned addr) |
unsigned | getSource (void) const |
AbstractCommand & | setDestination (unsigned addr) |
AbstractCommand & | clearDestination (unsigned addr) |
const std::set< unsigned > & | getDestinations (void) const |
AbstractCommand & | setDestinations (const std::set< unsigned > &dsts) |
AbstractCommand & | setTTL (unsigned value) |
unsigned | getTTL (void) const |
AbstractCommand & | setFlags (unsigned value) |
unsigned | getFlags (void) const |
AbstractCommand & | setPriority (unsigned value) |
unsigned | getPriority (void) const |
std::string | encode (void) const |
void | toText (std::ostream &os) const |
bool | operator== (const AbstractCommand &b) const |
bool | operator!= (const AbstractCommand &b) const |
Public Attributes | |
int | data_length |
std::string | data |
Protected Member Functions | |
size_t | encodeArgs (std::vector< std::string > &args__) const |
size_t | decodeArgs (const std::vector< std::string > &args__, size_t index__) |
void | toTextArgs (std::ostream &os__) const |
Additional Inherited Members | |
Public Types inherited from Transports::SUNSET::AbstractCommand | |
enum | Flags { FLAG_LAST } |
enum | Offset { OFFS_PREFIX, OFFS_VERSION, OFFS_FLAGS, OFFS_TTL, OFFS_PRIORITY, OFFS_SRC, OFFS_DST_COUNT, OFFS_DST, OFFS_LAST } |
Static Public Member Functions inherited from Transports::SUNSET::AbstractCommand | |
static uint16_t | getCRC (const std::string &cmd) |
static uint16_t | computeCRC (const std::string &str, size_t size) |
static std::string | getFlagList (unsigned flags) |
|
inline |
References data, data_length, and Transports::SUNSET::AbstractCommand::setName().
|
inlineprotectedvirtual |
Implements Transports::SUNSET::AbstractCommand.
References data, data_length, and Transports::SUNSET::decodeType().
|
inlineprotectedvirtual |
Implements Transports::SUNSET::AbstractCommand.
References data, data_length, and Transports::SUNSET::encodeType().
|
inlineprotectedvirtual |
Implements Transports::SUNSET::AbstractCommand.
std::string Transports::SUNSET::PacketTx::data |
Referenced by decodeArgs(), encodeArgs(), and PacketTx().
int Transports::SUNSET::PacketTx::data_length |
Referenced by decodeArgs(), encodeArgs(), and PacketTx().