My Project
|
Public Member Functions | |
SquidConsumer (gcp::mediator::Scanner *parent, std::string dioHost, unsigned short dioPort, std::string hwHost, unsigned short hwPort) | |
gcp::util::BoardDataFrameManager & | getFrame () |
![]() | |
virtual | ~DioConsumer () |
virtual void | serviceMsgQ () |
virtual void | processMsg (gcp::mediator::DioMsg *msg) |
void | checkForDioData () |
![]() | |
void | sendRestartMsg () |
void | sendStopMsg () |
void | sendHeartBeatMsg () |
virtual void | fwdTaskMsg (gcp::mediator::DioMsg *msg) |
Additional Inherited Members | |
![]() | |
DioConsumer (gcp::mediator::Scanner *parent, std::string dioHost, unsigned short dioPort, std::string hwHost, unsigned short hwPort) | |
void | resetTimeout () |
void | clearTimeout () |
virtual void | packFrame () |
gcp::util::RegMapDataFrameManager * | grabReadFrame () |
void | releaseReadFrame () |
virtual void | copyPersistentRegs (gcp::util::ArrayMapDataFrameManager *frame) |
![]() | |
GenericTask () | |
GenericTask (Thread *thread) | |
virtual | ~GenericTask () |
void | sendTaskMsg (gcp::mediator::DioMsg *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 | run (void) |
virtual void | processTaskMsg (bool *stop) |
virtual void | respondToHeartBeat () |
virtual void | installTimer (gcp::mediator::DioMsg *msg) |
virtual void | installSignal (gcp::mediator::DioMsg *msg) |
virtual void | enableTimer (gcp::mediator::DioMsg *msg) |
virtual void | addHandler (gcp::mediator::DioMsg *msg) |
void | stepCommands () |
![]() | |
gcp::mediator::Scanner * | parent_ |
std::string | dioHost_ |
unsigned short | dioPort_ |
std::string | hwHost_ |
unsigned short | hwPort_ |
gcp::util::TimeVal | timer_ |
struct timeval * | timeOut_ |
DioClient * | dioClient_ |
![]() | |
Thread * | thread_ |
std::vector< Thread * > | threads_ |
PipeQ< gcp::mediator::DioMsg > | msgq_ |
gcp::util::FdSet | fdSet_ |
std::vector< Command * > | commands_ |
struct timeval * | timeOut_ |
TimeVal | commandTimeOut_ |
SquidConsumer::SquidConsumer | ( | gcp::mediator::Scanner * | parent, |
std::string | dioHost, | ||
unsigned short | dioPort, | ||
std::string | hwHost, | ||
unsigned short | hwPort | ||
) |
....................................................................... Constructor.
|
virtual |
....................................................................... Pack a frame
Reimplemented from gcp::receiver::DioConsumer.