My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::mediator::Control Class Reference

#include <Control.h>

Inheritance diagram for gcp::mediator::Control:
gcp::util::GenericTask< ControlMsg >

Public Member Functions

 ~Control ()
 
 CONTROL_TASK_FWD_FN (forwardAntennaControlMsg)
 
 CONTROL_TASK_FWD_FN (forwardControlMsg)
 
 CONTROL_TASK_FWD_FN (forwardGrabberControlMsg)
 
 CONTROL_TASK_FWD_FN (forwardReceiverControlMsg)
 
 CONTROL_TASK_FWD_FN (forwardWxControlMsg)
 
void forwardMasterMsg (MasterMsg *msg)
 
void forwardNetCmd (gcp::util::NetCmd *netCmd)
 
gcp::util::RegMapDataFrameManagergetArrayShare ()
 
Masterparent ()
 
std::string wxHost ()
 
- Public Member Functions inherited from gcp::util::GenericTask< ControlMsg >
void sendRestartMsg ()
 
void sendStopMsg ()
 
void sendHeartBeatMsg ()
 
virtual void fwdTaskMsg (ControlMsg *msg)
 

Friends

class Master
 
class AntennaControl
 
class GrabberControl
 
class ReceiverControl
 
class WxControl
 

Additional Inherited Members

- Protected Member Functions inherited from gcp::util::GenericTask< ControlMsg >
 GenericTask ()
 
 GenericTask (Thread *thread)
 
virtual ~GenericTask ()
 
void sendTaskMsg (ControlMsg *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)
 
ThreadgetThread (std::string name)
 
bool threadsAreRunning ()
 
void shutdownConnection (int fd)
 
virtual void restart (void)
 
virtual void run (void)
 
virtual void processTaskMsg (bool *stop)
 
virtual void processMsg (ControlMsg *msg)
 
virtual void installTimer (ControlMsg *msg)
 
virtual void installSignal (ControlMsg *msg)
 
virtual void enableTimer (ControlMsg *msg)
 
virtual void addHandler (ControlMsg *msg)
 
void stepCommands ()
 
- Protected Attributes inherited from gcp::util::GenericTask< ControlMsg >
Threadthread_
 
std::vector< Thread * > threads_
 
PipeQ< ControlMsg > msgq_
 
gcp::util::FdSet fdSet_
 
std::vector< Command * > commands_
 
struct timeval * timeOut_
 
TimeVal commandTimeOut_
 

Detailed Description

A class to encapsulate the control connection between the AC and the ACC.

Constructor & Destructor Documentation

Control::~Control ( )

Destructor.

....................................................................... Destructor function for Control

Member Function Documentation

gcp::mediator::Control::CONTROL_TASK_FWD_FN ( forwardAntennaControlMsg  )

Method by whic5Bh other tasks can forward messages to the AntennaControl task.

gcp::mediator::Control::CONTROL_TASK_FWD_FN ( forwardControlMsg  )

Method by which other tasks can forward messages to us.

gcp::mediator::Control::CONTROL_TASK_FWD_FN ( forwardGrabberControlMsg  )

Method by which other tasks can forward messages to the GrabberControl task.

gcp::mediator::Control::CONTROL_TASK_FWD_FN ( forwardReceiverControlMsg  )

Method by which other tasks can forward messages to the ReceiverControl task.

gcp::mediator::Control::CONTROL_TASK_FWD_FN ( forwardWxControlMsg  )

Method by which other tasks can forward messages to the WxControl task.

void Control::forwardMasterMsg ( MasterMsg msg)

Method by which other tasks can forward messages to the Master task.

....................................................................... Forward a message to the master task.

Friends And Related Function Documentation

friend class Master
friend

will access private members of this class.


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