openikev2::AlarmControllerImpl Class Reference

This class contains the AlarmController implementation. More...

#include <alarmcontrollerimpl.h>

Inheritance diagram for openikev2::AlarmControllerImpl:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AlarmControllerImpl (uint32_t msec_interval)
 Creates a new AlarmControllerImpl.
virtual void addAlarm (Alarm &alarm)
 Adds the Alarm to the Alarm collection.
virtual void removeAlarm (Alarm &alarm)
 Removes the Alarm from the Alarm collection.
virtual void run ()
 Performs main thread funcionality.

Protected Attributes

AutoVector< Alarmalarm_collection
 Alarm collection.
uint32_t msec_interval
 Interval between "clock tics" in milliseconds.
auto_ptr< Mutexmutex_alarm_collection
 Mutex to protect acceses to the alarm collection.

Detailed Description

This class contains the AlarmController implementation.

Author:
Alejandro Perez Mendez, Pedro J. Fernandez Ruiz <alejandro_perez@dif.um.es, pedroj.fernandez@dif.um.es>


Member Function Documentation

void openikev2::AlarmControllerImpl::addAlarm ( Alarm alarm  )  [virtual]

Adds the Alarm to the Alarm collection.

Parameters:
alarm Alarm to be added

void openikev2::AlarmControllerImpl::removeAlarm ( Alarm alarm  )  [virtual]

Removes the Alarm from the Alarm collection.

Parameters:
alarm Alarm to be removed


Generated on Fri Jul 27 11:04:49 2007 for libopenikev2 by  doxygen 1.5.1