My Project
|
Public Member Functions | |
PeriodicTimer () | |
virtual | ~PeriodicTimer () |
void | addHandler (PERIODIC_TIMER_HANDLER(*handler), void *args=0) |
void | removeHandler (PERIODIC_TIMER_HANDLER(*handler)) |
void | enableTimer (bool enable, unsigned intervalInSeconds=0) |
![]() | |
SpawnableTask (bool spawn) | |
virtual | ~SpawnableTask () |
![]() | |
void | sendRestartMsg () |
void | sendStopMsg () |
void | sendHeartBeatMsg () |
virtual void | fwdTaskMsg (PeriodicTimerMsg *msg) |
![]() | |
RunnableTask (bool spawnThread) | |
virtual | ~RunnableTask () |
![]() | |
Runnable (bool spawnThread, RUN_FN(*runFn)) | |
Runnable (bool spawnThread, RUN_FN(*runFn), int priority) | |
virtual | ~Runnable () |
void | blockForever () |
void | spawn () |
Additional Inherited Members | |
![]() | |
static | RUN_FN (runFn) |
![]() | |
static | THREAD_START (startUp) |
![]() | |
void | run () |
![]() | |
GenericTask () | |
GenericTask (Thread *thread) | |
virtual | ~GenericTask () |
void | sendTaskMsg (PeriodicTimerMsg *msg) |
void | startThreads (void *arg) |
void | startThread (void *arg, unsigned order) |
unsigned | getMinStartOrder () |
bool | threadsNeedStarting () |
void | cancelThreads () |
void | cancelThread (unsigned order) |
unsigned | getMinCancelOrder () |
bool | threadsNeedCancelling () |
void | pingThreads (void *arg) |
void | raise (std::string name, int sigNo) |
Thread * | getThread (std::string name) |
bool | threadsAreRunning () |
void | shutdownConnection (int fd) |
virtual void | restart (void) |
virtual void | processTaskMsg (bool *stop) |
virtual void | respondToHeartBeat () |
virtual void | installTimer (PeriodicTimerMsg *msg) |
virtual void | installSignal (PeriodicTimerMsg *msg) |
virtual void | enableTimer (PeriodicTimerMsg *msg) |
virtual void | addHandler (PeriodicTimerMsg *msg) |
void | stepCommands () |
![]() | |
virtual void | broadcastReady () |
void | spawn (void *arg) |
![]() | |
Thread * | thread_ |
std::vector< Thread * > | threads_ |
PipeQ< PeriodicTimerMsg > | msgq_ |
gcp::util::FdSet | fdSet_ |
std::vector< Command * > | commands_ |
struct timeval * | timeOut_ |
TimeVal | commandTimeOut_ |
![]() | |
Thread * | spawnedThread_ |
bool | spawned_ |
RUN_FN * | runFn_ |
PeriodicTimer::PeriodicTimer | ( | ) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
void PeriodicTimer::addHandler | ( | PERIODIC_TIMER_HANDLER * | fn, |
void * | args = 0 |
||
) |
....................................................................... Public method to add a handler to be called when the ephemeris file is updated