IBR-DTNSuite
0.12
|
#include <NativeDaemon.h>
Public Member Functions | |
NativeEventLoop (NativeDaemon &daemon) | |
~NativeEventLoop () | |
virtual void | run (void) throw () |
virtual void | __cancellation () throw () |
Public Member Functions inherited from ibrcommon::JoinableThread | |
virtual | ~JoinableThread ()=0 |
void | join (void) throw (ThreadException) |
bool | isRunning (void) |
void | start (int priority=0) throw (ThreadException) |
void | stop () throw () |
Additional Inherited Members | |
Protected Member Functions inherited from ibrcommon::JoinableThread | |
JoinableThread (size_t size=DEFAULT_STACKSIZE) | |
Static Protected Member Functions inherited from ibrcommon::Thread | |
static size_t | getNumberOfProcessors () |
static void | yield (void) |
static void | sleep (time_t timeout) |
static void | concurrency (int level) |
static bool | equal (pthread_t thread1, pthread_t thread2) |
static void * | __execute__ (void *obj) throw () |
Definition at line 328 of file NativeDaemon.h.
dtn::daemon::NativeEventLoop::NativeEventLoop | ( | NativeDaemon & | daemon) |
Definition at line 1544 of file NativeDaemon.cpp.
dtn::daemon::NativeEventLoop::~NativeEventLoop | ( | ) |
Definition at line 1549 of file NativeDaemon.cpp.
|
virtual |
Implements ibrcommon::Thread.
Definition at line 1574 of file NativeDaemon.cpp.
References dtn::core::EventSwitch::getInstance(), dtn::core::GlobalEvent::GLOBAL_SHUTDOWN, dtn::core::GlobalEvent::raise(), and dtn::core::EventSwitch::shutdown().
|
virtual |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 1553 of file NativeDaemon.cpp.
References dtn::daemon::Configuration::getDaemon(), dtn::core::EventSwitch::getInstance(), dtn::daemon::Configuration::getInstance(), dtn::daemon::Configuration::Daemon::getThreads(), dtn::core::EventSwitch::loop(), and dtn::daemon::IntegratedComponent::terminate().