My Project
|
Public Member Functions | |
GpsIntHandler (bool spawn, bool simulateTimer, bool simulateGpsCard, unsigned short priority) | |
GpsIntHandler (bool spawn, bool simulateTimer, bool simulateGpsCard=false) | |
virtual | ~GpsIntHandler () |
void | registerCallback (GPS_CALLBACK_FN(*fn), void *arg) |
void | run () |
void | runReal () |
void | runSim () |
void | runTest () |
void | stop () |
void | getDate (gcp::util::TimeVal &lastTick) |
gcp::util::TimeVal & | lastTick () |
int | fd () |
void | open () |
![]() | |
Runnable (bool spawnThread, RUN_FN(*runFn)) | |
Runnable (bool spawnThread, RUN_FN(*runFn), int priority) | |
virtual | ~Runnable () |
void | blockForever () |
void | spawn () |
Additional Inherited Members | |
![]() | |
static | THREAD_START (startUp) |
![]() | |
virtual void | broadcastReady () |
void | spawn (void *arg) |
![]() | |
Thread * | spawnedThread_ |
bool | spawned_ |
RUN_FN * | runFn_ |
GpsIntHandler::GpsIntHandler | ( | bool | spawnThread, |
bool | simulateTimer, | ||
bool | simulateGpsCard, | ||
unsigned short | priority | ||
) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
void GpsIntHandler::open | ( | ) |
....................................................................... Open the device
void GpsIntHandler::registerCallback | ( | GPS_CALLBACK_FN * | fn, |
void * | arg | ||
) |
Register a callback function
....................................................................... Register a callback function
void GpsIntHandler::run | ( | ) |
Run this object
void GpsIntHandler::runReal | ( | ) |
....................................................................... Sit in select(), watching for the file descriptor to become readable
void GpsIntHandler::runSim | ( | ) |
....................................................................... Sit in select(), watching for the file descriptor to become readable
void GpsIntHandler::runTest | ( | ) |
....................................................................... Sit in select(), watching for the file descriptor to become readable
void GpsIntHandler::stop | ( | ) |
....................................................................... Stop this object from running