IBR-DTNSuite 0.6

ibrcommon::SimpleTimer Class Reference

#include <Timer.h>

Inheritance diagram for ibrcommon::SimpleTimer:
Collaboration diagram for ibrcommon::SimpleTimer:

List of all members.

Public Member Functions

 SimpleTimer (SimpleTimerCallback &callback, size_t identifier)
virtual ~SimpleTimer ()
void set (size_t timeout)
void remove ()

Protected Member Functions

void run ()
bool __cancellation ()

Detailed Description

Definition at line 82 of file Timer.h.


Constructor & Destructor Documentation

ibrcommon::SimpleTimer::SimpleTimer ( SimpleTimerCallback callback,
size_t  identifier 
)

Definition at line 120 of file Timer.cpp.

ibrcommon::SimpleTimer::~SimpleTimer ( ) [virtual]

Definition at line 125 of file Timer.cpp.

References ibrcommon::JoinableThread::join(), and ibrcommon::JoinableThread::stop().

Here is the call graph for this function:


Member Function Documentation

bool ibrcommon::SimpleTimer::__cancellation ( ) [protected, virtual]

Reimplemented from ibrcommon::Thread.

Definition at line 137 of file Timer.cpp.

References ibrcommon::Conditional::abort().

Here is the call graph for this function:

void ibrcommon::SimpleTimer::remove ( )

Definition at line 147 of file Timer.cpp.

References ibrcommon::JoinableThread::stop().

Referenced by dtn::daemon::StatisticLogger::componentDown(), and dtn::core::WallClock::componentDown().

Here is the call graph for this function:

void ibrcommon::SimpleTimer::set ( size_t  timeout)

The documentation for this class was generated from the following files: