My Project
|
#include <AntennaDrive.h>
Public Member Functions | |
void | sendDriveConnectedMsg (bool connected) |
void | sendDriveDoneMsg (unsigned int seq) |
void | sendBenchDoneMsg (unsigned int seq) |
void | sendScanDoneMsg (unsigned int seq) |
void | sendSourceSetMsg (unsigned int seq) |
void | sendPollGpsStatusMsg () |
bool | simPmac () |
![]() | |
SpecificTask () | |
virtual | ~SpecificTask () |
SpecificShare * | getShare () |
![]() | |
void | sendRestartMsg () |
void | sendStopMsg () |
void | sendHeartBeatMsg () |
virtual void | fwdTaskMsg (AntennaDriveMsg *msg) |
Friends | |
class | AntennaMaster |
Additional Inherited Members | |
![]() | |
SpecificShare * | share_ |
![]() | |
GenericTask () | |
GenericTask (Thread *thread) | |
virtual | ~GenericTask () |
void | sendTaskMsg (AntennaDriveMsg *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 | serviceMsgQ (void) |
virtual void | restart (void) |
virtual void | run (void) |
virtual void | processTaskMsg (bool *stop) |
virtual void | processMsg (AntennaDriveMsg *msg) |
virtual void | installTimer (AntennaDriveMsg *msg) |
virtual void | installSignal (AntennaDriveMsg *msg) |
virtual void | enableTimer (AntennaDriveMsg *msg) |
virtual void | addHandler (AntennaDriveMsg *msg) |
void | stepCommands () |
![]() | |
Thread * | thread_ |
std::vector< Thread * > | threads_ |
PipeQ< AntennaDriveMsg > | msgq_ |
gcp::util::FdSet | fdSet_ |
std::vector< Command * > | commands_ |
struct timeval * | timeOut_ |
TimeVal | commandTimeOut_ |
The AntennaDrive collects together the functionality of the base class Drive and its descendants, namely PointingModel. Remotely, there will be a single CORBA DO for an Antenna object, from which antenna->Drive()->Pointingmodel() and its methods can be accessed directly. However, we want these methods to be routed through the AntennaDrive message queue, and so the antenna->Drive() portion of the DO is managed by the AntennaDrive class.
void AntennaDrive::sendBenchDoneMsg | ( | unsigned int | seq | ) |
Send a message to the parent that the bench is on target
....................................................................... Send a message to the parent that the pmac is disconnected
void AntennaDrive::sendDriveConnectedMsg | ( | bool | connected | ) |
Send a message that the pmac is dis/connected
....................................................................... Send a message to the parent that the drive is connected
void AntennaDrive::sendDriveDoneMsg | ( | unsigned int | seq | ) |
Send a message to the parent that the pmac is disconnected
....................................................................... Send a message to the parent that the pmac is disconnected
void AntennaDrive::sendPollGpsStatusMsg | ( | ) |
....................................................................... Send a message to the parent that the source has set.
void AntennaDrive::sendScanDoneMsg | ( | unsigned int | seq | ) |
Send a message to the parent that the scan has finished
....................................................................... Send a message to the parent that the scan has completed
void AntennaDrive::sendSourceSetMsg | ( | unsigned int | seq | ) |
Send a message to the parent that the source has set.
....................................................................... Send a message to the parent that the source has set.
|
friend |
We declare AntennaMaster a friend because its startAntennaDrive() method will call serviceMsgQ().