ARPDAS_QNX6 1.0
|
#include <DG_tmr.h>
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_generator * | dg |
uint64_t | timer_resolution_nsec |
Private Attributes | |
int | timerid |
int | pulse_code |
DG_tmr::DG_tmr | ( | data_generator * | data_gen | ) |
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().
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 | ( | 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().
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().
uint64_t DG_tmr::timer_resolution_nsec |
int DG_tmr::timerid [private] |