ARPDAS_QNX6 1.0
Public Member Functions | Public Attributes | Private Attributes
DG_tmr Class Reference

#include <DG_tmr.h>

Inheritance diagram for DG_tmr:
Collaboration diagram for DG_tmr:

List of all members.

Public Member Functions

 DG_tmr (data_generator *data_gen)
 ~DG_tmr ()
void attach ()
void settime (int per_sec, int per_nsec)
void settime (uint64_t nsecs)
int ready_to_quit ()

Public Attributes

data_generatordg
uint64_t timer_resolution_nsec

Private Attributes

int timerid
int pulse_code

Detailed Description

Definition at line 14 of file DG_tmr.h.


Constructor & Destructor Documentation

DG_tmr::DG_tmr ( data_generator data_gen)

Definition at line 22 of file DG_tmr.cc.

References dg, nl_error, timer_resolution_nsec, and timerid.

DG_tmr::~DG_tmr ( )

Definition at line 64 of file DG_tmr.cc.

References nl_error.


Member Function Documentation

void DG_tmr::attach ( )

Definition at line 31 of file DG_tmr.cc.

References dg, DG_tmr_pulse_func(), data_generator::dispatch, DG_dispatch::dpp, nl_error, pulse_code, and timerid.

Referenced by data_generator::init().

Here is the call graph for this function:

Here is the caller graph for this function:

int DG_tmr::ready_to_quit ( ) [virtual]

Implements DG_dispatch_client.

Definition at line 51 of file DG_tmr.cc.

References dg, data_generator::dispatch, DG_dispatch::dpp, nl_error, pulse_code, and timerid.

void DG_tmr::settime ( uint64_t  nsecs)

Definition at line 76 of file DG_tmr.cc.

References timerid.

void DG_tmr::settime ( int  per_sec,
int  per_nsec 
)

Definition at line 68 of file DG_tmr.cc.

References timerid.

Referenced by data_generator::execute(), data_generator::tm_play(), data_generator::tm_start(), and data_generator::tm_stop().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 22 of file DG_tmr.h.

Referenced by attach(), DG_tmr(), DG_tmr_pulse_func(), and ready_to_quit().

int DG_tmr::pulse_code [private]

Definition at line 26 of file DG_tmr.h.

Referenced by attach(), and ready_to_quit().

Definition at line 23 of file DG_tmr.h.

Referenced by DG_tmr().

int DG_tmr::timerid [private]

Definition at line 25 of file DG_tmr.h.

Referenced by attach(), DG_tmr(), ready_to_quit(), and settime().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines