OmniEvents
Time Class Reference

List of all members.

Public Member Functions

 Time ()
 Time (CORBA::ULong sec, CORBA::ULong nano)
 Time (const Time &right)
Timeoperator= (const Time &right)
bool operator< (const Time &right) const
Timeoperator+= (const Time &right)
Time operator+ (const Time &right) const
Timeoperator-= (const Time &right)
Time operator- (const Time &right) const
void operator>>= (cdrMemoryStream &s) const
void operator<<= (cdrMemoryStream &s)
bool is_nil () const

Static Public Member Functions

static Time current ()
static void sleepUntil (const Time &futureTime)

Private Attributes

CORBA::ULong _sec
CORBA::ULong _nano

Detailed Description

Definition at line 89 of file events.cc.


Constructor & Destructor Documentation

Time::Time ( ) [inline]

Definition at line 114 of file events.cc.

Time::Time ( CORBA::ULong  sec,
CORBA::ULong  nano 
) [inline]

Definition at line 115 of file events.cc.

Time::Time ( const Time right) [inline]

Definition at line 116 of file events.cc.


Member Function Documentation

static Time Time::current ( ) [inline, static]

Definition at line 95 of file events.cc.

References _nano, and _sec.

Referenced by Consumer_i::push(), and Supplier_i::supply().

bool Time::is_nil ( ) const [inline]

Definition at line 182 of file events.cc.

Referenced by Supplier_i::supply().

Time Time::operator+ ( const Time right) const [inline]

Definition at line 144 of file events.cc.

Time& Time::operator+= ( const Time right) [inline]

Definition at line 133 of file events.cc.

References _nano, _sec, and BILLION.

Time Time::operator- ( const Time right) const [inline]

Definition at line 166 of file events.cc.

Time& Time::operator-= ( const Time right) [inline]

Definition at line 150 of file events.cc.

References _nano, _sec, and BILLION.

bool Time::operator< ( const Time right) const [inline]

Definition at line 126 of file events.cc.

References _nano, and _sec.

void Time::operator<<= ( cdrMemoryStream &  s) [inline]

Definition at line 177 of file events.cc.

Time& Time::operator= ( const Time right) [inline]

Definition at line 117 of file events.cc.

References _nano, and _sec.

void Time::operator>>= ( cdrMemoryStream &  s) const [inline]

Definition at line 172 of file events.cc.

static void Time::sleepUntil ( const Time futureTime) [inline, static]

Definition at line 104 of file events.cc.

References _nano, and _sec.

Referenced by Supplier_i::supply().


Member Data Documentation

CORBA::ULong Time::_nano [private]

Definition at line 93 of file events.cc.

Referenced by current(), operator+=(), operator-=(), operator<(), operator=(), and sleepUntil().

CORBA::ULong Time::_sec [private]

Definition at line 92 of file events.cc.

Referenced by current(), operator+=(), operator-=(), operator<(), operator=(), and sleepUntil().


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