ocean.util.app.ext.TimerExt

Application extension for handling user-defined timed or repeating events.

Internally, the extension uses a timer set to manage the set of timed events. The internal timer set's TimerEvent instance is registered with epoll when one or more timed events are registered. When no timed events are registered, the TimerEvent is not registered.

Due to its internal use of epoll, this extension requires an epoll instance to be passed to its constructor. This is unlike the SignalExt, which the user must manually register with epoll.

Usage example: See documented unittest below.

Members

Classes

TimerExt
class TimerExt
Undocumented in source.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).