DUNE: Uniform Navigational Environment
2.6.0-rc4
|
Public Member Functions | |
Plan (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 | |
std::vector< Maneuver * > | maneuver_list |
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 maneuver_list, and Transports::SUNSET::AbstractCommand::setName().
|
inlineprotectedvirtual |
Implements Transports::SUNSET::AbstractCommand.
References Transports::SUNSET::decodeType(), and maneuver_list.
|
inlineprotectedvirtual |
Implements Transports::SUNSET::AbstractCommand.
References Transports::SUNSET::encodeType(), and maneuver_list.
|
inlineprotectedvirtual |
Implements Transports::SUNSET::AbstractCommand.
std::vector<Maneuver*> Transports::SUNSET::Plan::maneuver_list |
Referenced by decodeArgs(), encodeArgs(), and Plan().