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

#include <ReceiverControl.h>

Inheritance diagram for gcp::mediator::ReceiverControl:
gcp::util::GenericTask< ReceiverControlMsg >

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)
 
ThreadgetThread (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 >
Threadthread_
 
std::vector< Thread * > threads_
 
PipeQ< ReceiverControlMsg > msgq_
 
gcp::util::FdSet fdSet_
 
std::vector< Command * > commands_
 
struct timeval * timeOut_
 
TimeVal commandTimeOut_
 

Detailed Description

A class for controlling antennas.

Constructor & Destructor Documentation

ReceiverControl::ReceiverControl ( Control parent)

Constructor.

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

ReceiverControl::~ReceiverControl ( )
virtual

Destructor.

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

Member Function Documentation

void gcp::mediator::ReceiverControl::run ( void  )
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.

Friends And Related Function Documentation

friend class Control
friend

Control will call our sendTaskMsg() method.


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