|
My Project
|
#include <ReceiverControl.h>
Classes | |
| struct | Script |
Public Member Functions | |
| ReceiverControl (Control *parent) | |
| virtual | ~ReceiverControl () |
| void | sendScript (std::string script, unsigned seq) |
| void | run () |
Public Member Functions inherited from gcp::util::GenericTask< ReceiverControlMsg > | |
| void | sendRestartMsg () |
| void | sendStopMsg () |
| void | sendHeartBeatMsg () |
| virtual void | fwdTaskMsg (ReceiverControlMsg *msg) |
Friends | |
| class | Control |
Additional Inherited Members | |
Protected Member Functions inherited from gcp::util::GenericTask< ReceiverControlMsg > | |
| GenericTask () | |
| GenericTask (Thread *thread) | |
| virtual | ~GenericTask () |
| void | sendTaskMsg (ReceiverControlMsg *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 | processMsg (ReceiverControlMsg *msg) |
| virtual void | respondToHeartBeat () |
| virtual void | installTimer (ReceiverControlMsg *msg) |
| virtual void | installSignal (ReceiverControlMsg *msg) |
| virtual void | enableTimer (ReceiverControlMsg *msg) |
| virtual void | addHandler (ReceiverControlMsg *msg) |
| void | stepCommands () |
Protected Attributes inherited from gcp::util::GenericTask< ReceiverControlMsg > | |
| Thread * | thread_ |
| std::vector< Thread * > | threads_ |
| PipeQ< ReceiverControlMsg > | msgq_ |
| gcp::util::FdSet | fdSet_ |
| std::vector< Command * > | commands_ |
| struct timeval * | timeOut_ |
| TimeVal | commandTimeOut_ |
A class for controlling antennas.
| ReceiverControl::ReceiverControl | ( | Control * | parent | ) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
|
inlinevirtual |
Overwrite the base-class event loop
Reimplemented from gcp::util::GenericTask< ReceiverControlMsg >.
| void ReceiverControl::sendScript | ( | std::string | script, |
| unsigned | seq | ||
| ) |
....................................................................... Forward a script message to the receiver control task.
|
friend |
Control will call our sendTaskMsg() method.