DUNE: Uniform Navigational Environment  2.3.0
DUNE::Tasks::AbstractTask Class Referenceabstract

Public Member Functions

 AbstractTask (void)
 
virtual ~AbstractTask (void)
 
virtual void receive (const IMC::Message *msg)=0
 
virtual const char * getName (void) const =0
 
- Public Member Functions inherited from DUNE::Concurrency::Thread
 Thread (void)
 
virtual ~Thread (void)
 
- Public Member Functions inherited from DUNE::Concurrency::Runnable
 Runnable (void)
 
virtual ~Runnable (void)
 
void start (void)
 
void stop (void)
 
void join (void)
 
void stopAndJoin (void)
 
void setPriority (Scheduler::Policy policy, unsigned priority)
 
State getState (void)
 
bool isCreated (void)
 
bool isStopping (void)
 
bool isRunning (void)
 
bool isStarting (void)
 
bool isDead (void)
 

Additional Inherited Members

- Public Types inherited from DUNE::Concurrency::Runnable
enum  State {
  StateStarting, StateRunning, StateStopping, StateDead,
  StateUnknown
}
 
- Static Public Member Functions inherited from DUNE::Concurrency::Thread
static unsigned native (void)
 
- Protected Member Functions inherited from DUNE::Concurrency::Thread
void startImpl (void)
 
void stopImpl (void)
 
void joinImpl (void)
 
void setPriorityImpl (Scheduler::Policy policy, unsigned priority)
 
- Protected Member Functions inherited from DUNE::Concurrency::Runnable
virtual void run (void)=0
 

Constructor & Destructor Documentation

DUNE::Tasks::AbstractTask::AbstractTask ( void  )
inline
virtual DUNE::Tasks::AbstractTask::~AbstractTask ( void  )
inlinevirtual

Destructor.

Member Function Documentation

virtual const char* DUNE::Tasks::AbstractTask::getName ( void  ) const
pure virtual

Retrieve task name.

Returns
task name.

Implemented in DUNE::Tasks::Task.

Referenced by DUNE::IMC::Bus::registerRecipient().

virtual void DUNE::Tasks::AbstractTask::receive ( const IMC::Message msg)
pure virtual

Queue a message for later consumption.

Parameters
msgmessage object.

Implemented in DUNE::Tasks::Task.

Collaboration diagram for DUNE::Tasks::AbstractTask:
Collaboration graph