Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

DCDT_Time.h File Reference

#include <sys/time.h>
#include <errno.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <DCDT_Defs.h>

Go to the source code of this file.

Classes

class  SequencerElem
class  DCDT_Sequencer

Functions

void Delay (DCDT_TIME delay_time)
 delay_time is in microseconds
int DeltaSeconds (struct timeval last, struct timeval now)
int DeltaSeconds (struct timespec last, struct timespec now)
int DeltaSeconds (DCDT_TIME last, DCDT_TIME now)
DCDT_TIME GetTime ()
DCDT_TIME tv2DCDT_TIME (struct timeval tv)
bool operator< (struct timeval t1, struct timeval t2)
bool operator> (struct timeval t1, struct timeval t2)
bool operator>= (struct timeval t1, struct timeval t2)
bool operator== (struct timeval t1, struct timeval t2)
timeval operator+ (struct timeval t1, struct timeval t2)
timeval operator (struct timeval t1, long t2)
timeval operator (struct timeval t1, DCDT_TIME t2)
timespec operator (struct timespec t1, unsigned int t2)
timeval & operator+= (struct timeval &t1, struct timeval t2)
long int operator- (struct timeval t1, struct timeval t2)
timeval & operator-= (struct timeval t1, struct timeval t2)


Function Documentation

void Delay DCDT_TIME  delay_time  )  [inline]
 

delay_time is in microseconds

Definition at line 38 of file DCDT_Time.h.

Referenced by DCDT_Agora::DCDT_Agora(), DCDT_MsgManager::DoYourJob(), DCDT_LinkTx::DoYourJob(), DCDT_LinkRx::DoYourJob(), DCDT_Finder::DoYourJob(), DCDT_Agora::LetsWork(), DCDT_Member::LifeCycle(), DCDT_InnerLinkManager::LookForExistingAgora(), DCDT_Agora::RemoveMember(), DCDT_Member::Shutdown(), and DCDT_Member::Wait().

int DeltaSeconds DCDT_TIME  last,
DCDT_TIME  now
[inline]
 

Definition at line 61 of file DCDT_Time.h.

Referenced by DCDT_PostOffice_SLWSM::CheckTimeoutElem(), DCDT_PostOffice_SLWDC::CheckTimeoutElem(), and DCDT_PostOffice_SLWBU::CheckTimeoutElem().

int DeltaSeconds struct timespec  last,
struct timespec  now
[inline]
 

Definition at line 56 of file DCDT_Time.h.

int DeltaSeconds struct timeval  last,
struct timeval  now
[inline]
 

Definition at line 51 of file DCDT_Time.h.

DCDT_TIME GetTime  )  [inline]
 

Definition at line 69 of file DCDT_Time.h.

References DCDT_TIME.

Referenced by DCDT_Finder::DCDT_Finder(), DCDT_Msg::DCDT_Msg(), DCDT_PostOffice_SLWDC::DCDT_PostOffice_SLWDC(), DCDT_Finder::DoYourJob(), DCDT_Finder::Init(), DCDT_Member::LifeCycle(), and DCDT_Member::Run().

struct timespec operator struct timespec  t1,
unsigned int  t2
[inline]
 

Definition at line 145 of file DCDT_Time.h.

References operator().

struct timeval operator struct timeval  t1,
DCDT_TIME  t2
[inline]
 

Definition at line 134 of file DCDT_Time.h.

References DCDT_TIME, and operator().

struct timeval operator struct timeval  t1,
long  t2
[inline]
 

Definition at line 123 of file DCDT_Time.h.

References operator().

Referenced by operator().

timeval operator+ struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 112 of file DCDT_Time.h.

struct timeval& operator+= struct timeval &  t1,
struct timeval  t2
[inline]
 

Definition at line 156 of file DCDT_Time.h.

long int operator- struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 182 of file DCDT_Time.h.

struct timeval& operator-= struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 199 of file DCDT_Time.h.

bool operator< struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 90 of file DCDT_Time.h.

bool operator== struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 107 of file DCDT_Time.h.

bool operator> struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 96 of file DCDT_Time.h.

bool operator>= struct timeval  t1,
struct timeval  t2
[inline]
 

Definition at line 102 of file DCDT_Time.h.

DCDT_TIME tv2DCDT_TIME struct timeval  tv  )  [inline]
 

Definition at line 83 of file DCDT_Time.h.

References DCDT_TIME.

Referenced by DCDT_Member::Run().


Generated on Sun Jun 19 10:35:50 2005 for dcdt by  doxygen 1.3.9.1