DUNE: Uniform Navigational Environment  2.6.0-rc4
Transports::SUNSET::PlanStopped Class Reference

Public Member Functions

 PlanStopped (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)
 
AbstractCommandsetVersion (unsigned version)
 
unsigned getVersion (void) const
 
AbstractCommandsetName (const std::string &name)
 
std::string getName (void) const
 
AbstractCommandsetSource (unsigned addr)
 
unsigned getSource (void) const
 
AbstractCommandsetDestination (unsigned addr)
 
AbstractCommandclearDestination (unsigned addr)
 
const std::set< unsigned > & getDestinations (void) const
 
AbstractCommandsetDestinations (const std::set< unsigned > &dsts)
 
AbstractCommandsetTTL (unsigned value)
 
unsigned getTTL (void) const
 
AbstractCommandsetFlags (unsigned value)
 
unsigned getFlags (void) const
 
AbstractCommandsetPriority (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::string plan_name
 

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)
 

Constructor & Destructor Documentation

Transports::SUNSET::PlanStopped::PlanStopped ( void  )
inline

Member Function Documentation

size_t Transports::SUNSET::PlanStopped::decodeArgs ( const std::vector< std::string > &  args__,
size_t  index__ 
)
inlineprotectedvirtual
size_t Transports::SUNSET::PlanStopped::encodeArgs ( std::vector< std::string > &  args__) const
inlineprotectedvirtual
void Transports::SUNSET::PlanStopped::toTextArgs ( std::ostream &  os__) const
inlineprotectedvirtual

Member Data Documentation

std::string Transports::SUNSET::PlanStopped::plan_name
Collaboration diagram for Transports::SUNSET::PlanStopped:
Collaboration graph