Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

strmod::unievent Namespace Reference

A generic, 'unified' event system. More...


Compounds

class  equal_evtptr
struct  FDEvent
class  SigBlockRegion
 A convenience class for creating a C++ block in which signal delivery is disabled and automatically re-enabled upon exit from the block. More...

struct  Imp
struct  pollstruct
struct  sigdata
class  Imp
class  EVList
class  Imp
 Private implementation details of SimpleDispatcher. More...

struct  junk
struct  absolute_t
 A particular nanosecond in all of eternity. More...

struct  interval_t
 A span of time. This interval is of only nanosecond precision. If you need to time lasers for photographing molecular interactions or schedule oscilloscope sweeps, this class is probably not precise enough for you. Then again, most OSes are really iffy for anything less than millisecond resolution anyway. More...

class  BusyEvent
class  Dispatcher
 An interface for a simple queuer and dispatcher of events. More...

class  EmptyEvent
class  Event
 An event to be queued up in a UNIDispatcher. More...

class  EventPtr
 A smart pointer class that points an Event and handles the reference count. More...

class  EventPtrT
class  RegistryDispatcherGlue
class  SimpleDispatcher
 A class that does the minimum necessary to support the Dispatcher interface. More...

class  Timer
 Posts events that happen based on time. More...

class  TimerEventTracker
 Tracks Timer events, can be used to implement Timer. More...

class  UNEVT_ClassIdent
 The global identifier class for classes in strmod::unievent. More...

class  UNIXError
 Holds a UNIX errno value. More...

class  UnixEventPoll
 Manages events associated with various file descriptors and/or signals. This is an implementation of UnixEventRegistry that uses the poll(2) system call to find out about events. More...

class  UnixEventRegistry
 Manages events associated with various file descriptors and/or signals. More...


Typedefs

typedef Timer::interval_t interval_t
typedef Timer::absolute_t absolute_t
typedef UnixEventPoll::FDCondSet FDCondSet
typedef i_sigaction local_sigaction

Functions

bool operator< (const Timer::interval_t &a, const Timer::interval_t &b)
bool operator>= (const Timer::interval_t &a, const Timer::interval_t &b)
bool operator> (const Timer::interval_t &a, const Timer::interval_t &b)
bool operator<= (const Timer::interval_t &a, const Timer::interval_t &b)
bool operator== (const Timer::interval_t &a, const Timer::interval_t &b)
bool operator!= (const Timer::interval_t &a, const Timer::interval_t &b)
bool operator< (const Timer::absolute_t &a, const Timer::absolute_t &b)
bool operator>= (const Timer::absolute_t &a, const Timer::absolute_t &b)
bool operator> (const Timer::absolute_t &a, const Timer::absolute_t &b)
bool operator<= (const Timer::absolute_t &a, const Timer::absolute_t &b)
bool operator== (const Timer::absolute_t &a, const Timer::absolute_t &b)
bool operator!= (const Timer::absolute_t &a, const Timer::absolute_t &b)
const Timer::interval_t operator- (const Timer::interval_t &a, const Timer::interval_t &b)
const Timer::interval_t operator+ (const Timer::interval_t &a, const Timer::interval_t &b)
const Timer::interval_t operator- (const Timer::absolute_t &a, const Timer::absolute_t &b)
const Timer::absolute_t operator+ (const Timer::absolute_t &a, const Timer::interval_t &b)
::std::ostream & operator<< (::std::ostream &os, const Timer::absolute_t &time)
::std::ostream & operator<< (::std::ostream &os, const Timer::interval_t &time)

Variables

typedef EventPtr
typedef timerheap_t


Detailed Description

A generic, 'unified' event system.

This namespace is used for a set of classes implementing a fairly generic event subsystem. It also has some OS specific classes for capturing OS events and bring them into the generic event subsystem.


Generated on Wed Jan 29 00:32:56 2003 for libNet by doxygen1.3-rc1