DUNE: Uniform Navigational Environment
2.4.2
|
Public Types | |
enum | State { StateStarting, StateRunning, StateStopping, StateDead, StateUnknown } |
Public Member Functions | |
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) |
Protected Member Functions | |
virtual void | run (void)=0 |
virtual void | startImpl (void)=0 |
virtual void | stopImpl (void)=0 |
virtual void | joinImpl (void)=0 |
virtual void | setStateImpl (State value)=0 |
virtual State | getStateImpl (void)=0 |
virtual void | setPriorityImpl (Scheduler::Policy policy, unsigned priority)=0 |
|
inline |
|
inlinevirtual |
|
inline |
References getStateImpl().
Referenced by isDead(), isRunning(), isStarting(), and isStopping().
|
protectedpure virtual |
Referenced by getState().
|
inline |
|
inline |
References getState(), and StateDead.
|
inline |
References getState(), and StateRunning.
Referenced by DUNE::Concurrency::Thread::setPriorityImpl().
|
inline |
References getState(), and StateStarting.
|
inline |
References getState(), and StateStopping.
Referenced by DUNE::Tasks::Task::stopping().
|
inline |
References joinImpl().
Referenced by stopAndJoin().
|
protectedpure virtual |
Implemented in DUNE::Concurrency::Thread.
Referenced by join().
|
protectedpure virtual |
|
inline |
References setPriorityImpl().
|
protectedpure virtual |
Implemented in DUNE::Concurrency::Thread.
Referenced by setPriority().
|
protectedpure virtual |
|
inline |
References startImpl().
Referenced by DUNE::Hardware::BasicModem::initialize(), DUNE::Hardware::HayesModem::initialize(), and DUNE::Tasks::Manager::start().
|
protectedpure virtual |
Implemented in DUNE::Concurrency::Thread.
Referenced by start().
|
inline |
References stopImpl().
Referenced by DUNE::Daemon::consume(), and stopAndJoin().
|
inline |
References join(), and stop().
Referenced by Transports::FTP::Task::onResourceRelease().
|
protectedpure virtual |
Implemented in DUNE::Concurrency::Thread.
Referenced by stop().