DUNE: Uniform Navigational Environment  2016.09.0
Supervisors::Vehicle::Request Struct Reference

Public Member Functions

 Request (int type, const IMC::Message *ptr)
 
 Request (int type)
 
void init (int type)
 
 ~Request (void)
 
bool isStop (void)
 
bool isStart (void)
 
double getIssueTime (void)
 
IMC::Message * getMessage (void)
 
void issue (void)
 

Public Attributes

int m_type
 
IMC::Message * m_msg
 
double m_issue_time
 

Constructor & Destructor Documentation

Supervisors::Vehicle::Request::Request ( int  type,
const IMC::Message *  ptr 
)
inline

References init(), and m_msg.

Supervisors::Vehicle::Request::Request ( int  type)
inline

References init(), and m_msg.

Supervisors::Vehicle::Request::~Request ( void  )
inline

References m_msg.

Member Function Documentation

double Supervisors::Vehicle::Request::getIssueTime ( void  )
inline

References m_issue_time.

IMC::Message* Supervisors::Vehicle::Request::getMessage ( void  )
inline
void Supervisors::Vehicle::Request::init ( int  type)
inline

References m_issue_time, and m_type.

Referenced by Request().

bool Supervisors::Vehicle::Request::isStart ( void  )
inline
bool Supervisors::Vehicle::Request::isStop ( void  )
inline
void Supervisors::Vehicle::Request::issue ( void  )
inline

References m_issue_time.

Member Data Documentation

double Supervisors::Vehicle::Request::m_issue_time

Issue time.

Referenced by getIssueTime(), init(), and issue().

IMC::Message* Supervisors::Vehicle::Request::m_msg

Pointer to IMC Message.

Referenced by getMessage(), Request(), and ~Request().

int Supervisors::Vehicle::Request::m_type

Request Type.

Referenced by init(), isStart(), and isStop().

Collaboration diagram for Supervisors::Vehicle::Request:
Collaboration graph