My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::GpsIntHandler Class Reference
Inheritance diagram for gcp::antenna::control::GpsIntHandler:
gcp::util::Runnable

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::TimeVallastTick ()
 
int fd ()
 
void open ()
 
- Public Member Functions inherited from gcp::util::Runnable
 Runnable (bool spawnThread, RUN_FN(*runFn))
 
 Runnable (bool spawnThread, RUN_FN(*runFn), int priority)
 
virtual ~Runnable ()
 
void blockForever ()
 
void spawn ()
 

Additional Inherited Members

- Static Public Member Functions inherited from gcp::util::Runnable
static THREAD_START (startUp)
 
- Protected Member Functions inherited from gcp::util::Runnable
virtual void broadcastReady ()
 
void spawn (void *arg)
 
- Protected Attributes inherited from gcp::util::Runnable
ThreadspawnedThread_
 
bool spawned_
 
RUN_FN * runFn_
 

Constructor & Destructor Documentation

GpsIntHandler::GpsIntHandler ( bool  spawnThread,
bool  simulateTimer,
bool  simulateGpsCard,
unsigned short  priority 
)

Constructor.

....................................................................... Constructor.

GpsIntHandler::~GpsIntHandler ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

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


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