#include "monitorEventThread.h"
Definition at line 47 of file monitorEventThread.h.
epics::pvAccess::ca::MonitorEventThread::~MonitorEventThread |
( |
| ) |
|
Definition at line 66 of file monitorEventThread.cpp.
70 if(notifyMonitorRequester->isOnQueue)
return;
71 notifyMonitorRequester->isOnQueue =
true;
72 notifyMonitorQueue.push(notifyMonitorRequester);
A lock for multithreading.
Definition at line 23 of file monitorEventThread.cpp.
std::tr1::shared_ptr< MonitorEventThread > MonitorEventThreadPtr
A lock for multithreading.
void epics::pvAccess::ca::MonitorEventThread::run |
( |
| ) |
|
|
virtual |
Definition at line 77 of file monitorEventThread.cpp.
81 waitForCommand.
wait();
84 NotifyMonitorRequester* notifyMonitorRequester(
NULL);
87 if(!notifyMonitorQueue.empty())
91 notifyMonitorQueue.pop();
94 notifyMonitorRequester = reqPtr.get();
95 reqPtr->isOnQueue =
false;
100 if(notifyMonitorRequester!=
NULL)
103 if(channelMonitor) channelMonitor->notifyClient();
A lock for multithreading.
std::tr1::shared_ptr< NotifyMonitorRequester > NotifyMonitorRequesterPtr
std::tr1::shared_ptr< CAChannelMonitor > CAChannelMonitorPtr
std::tr1::weak_ptr< NotifyMonitorRequester > NotifyMonitorRequesterWPtr
void epics::pvAccess::ca::MonitorEventThread::start |
( |
| ) |
|
Definition at line 45 of file monitorEventThread.cpp.
47 thread = std::tr1::shared_ptr<epicsThread>(
new epicsThread(
LIBCOM_API unsigned int epicsStdCall epicsThreadGetStackSize(epicsThreadStackSizeClass size)
#define epicsThreadPriorityLow
void epics::pvAccess::ca::MonitorEventThread::stop |
( |
| ) |
|
The documentation for this class was generated from the following files: