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

#include <WxControl.h>

Inheritance diagram for gcp::mediator::WxControl:
gcp::util::GenericTask< WxControlMsg >

Classes

struct  WxData
 

Public Member Functions

 WxControl (Control *parent)
 
virtual ~WxControl ()
 
void incrementPending ()
 
void decrementPending ()
 
void writeVals (WxData &data)
 
- Public Member Functions inherited from gcp::util::GenericTask< WxControlMsg >
void sendRestartMsg ()
 
void sendStopMsg ()
 
void sendHeartBeatMsg ()
 
virtual void fwdTaskMsg (WxControlMsg *msg)
 

Friends

class Control
 
class SptWxClient
 

Additional Inherited Members

- Protected Member Functions inherited from gcp::util::GenericTask< WxControlMsg >
 GenericTask ()
 
 GenericTask (Thread *thread)
 
virtual ~GenericTask ()
 
void sendTaskMsg (WxControlMsg *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 (WxControlMsg *msg)
 
virtual void respondToHeartBeat ()
 
virtual void installTimer (WxControlMsg *msg)
 
virtual void installSignal (WxControlMsg *msg)
 
virtual void enableTimer (WxControlMsg *msg)
 
virtual void addHandler (WxControlMsg *msg)
 
void stepCommands ()
 
- Protected Attributes inherited from gcp::util::GenericTask< WxControlMsg >
Threadthread_
 
std::vector< Thread * > threads_
 
PipeQ< WxControlMsg > msgq_
 
gcp::util::FdSet fdSet_
 
std::vector< Command * > commands_
 
struct timeval * timeOut_
 
TimeVal commandTimeOut_
 

Detailed Description

A class for managing communications with the weather station

Constructor & Destructor Documentation

WxControl::WxControl ( Control parent)

Constructor.

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

WxControl::~WxControl ( )
virtual

Destructor.

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

Member Function Documentation

void gcp::mediator::WxControl::incrementPending ( )

Decrement/Increment the count of pending communications

void WxControl::writeVals ( WxData data)

....................................................................... Write the new weather values to the frame


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