Definition at line 25 of file clientMonitor.cpp.
epics::pvAccess::Monitor::Impl::Impl |
( |
ClientChannel::MonitorCallback * |
cb | ) |
|
|
inline |
Definition at line 40 of file clientMonitor.cpp.
ClientChannel::MonitorCallback * cb
static size_t num_instances
virtual epics::pvAccess::Monitor::Impl::~Impl |
( |
| ) |
|
|
inlinevirtual |
Definition at line 46 of file clientMonitor.cpp.
ClientChannel::MonitorCallback * cb
static size_t num_instances
Definition at line 53 of file clientMonitor.cpp.
55 ClientChannel::MonitorCallback *
cb=this->
cb;
65 cb->monitorEvent(
event);
67 }
catch(std::exception& e){
69 LOG(
pva::logLevelError,
"Unhandled exception in ClientChannel::MonitorCallback::monitorEvent(): %s", e.what());
73 event.message = e.what();
79 cb->monitorEvent(
event);
81 }
catch(std::exception& e){
82 LOG(
pva::logLevelError,
"Unhandled exception following exception in ClientChannel::MonitorCallback::monitorEvent(): %s", e.what());
ClientChannel::MonitorCallback * cb
subscription ends in cancellation
#define LOG(level, format,...)
subscription ends in an error
void epics::pvAccess::Monitor::Impl::cancel |
( |
| ) |
|
|
inline |
Definition at line 87 of file clientMonitor.cpp.
89 operation_type::shared_pointer temp;
subscription ends in cancellation
std::tr1::shared_ptr< Monitor::Impl > internal_shared_from_this()
pva::MonitorElement::Ref last
void callEvent(CallbackGuard &G, MonitorEvent::event_t evt=MonitorEvent::Fail)
operation_type::shared_pointer op
virtual void epics::pvAccess::Monitor::Impl::channelDisconnect |
( |
bool |
destroy | ) |
|
|
inlinevirtual |
Notification when underlying Channel becomes DISCONNECTED or DESTORYED
(re)connection is notified through a sub-class *Connect() method.
Any in-progress get()/put()/request()/start() is implicitly cancel()'d or stop()'d before this method is called.
Ownership of any PVStructures passed to completion callbacks (eg. ChannelGetRequester::getDone() ) is returned the operation
- Parameters
-
destroy | true for final disconnect. |
Reimplemented from epics::pvAccess::ChannelBaseRequester.
Definition at line 150 of file clientMonitor.cpp.
155 event.message =
"Disconnect";
ClientChannel::MonitorCallback * cb
subscription interrupted due to loss of communication
std::tr1::shared_ptr< Monitor::Impl > internal_shared_from_this()
void callEvent(CallbackGuard &G, MonitorEvent::event_t evt=MonitorEvent::Fail)
virtual std::string epics::pvAccess::Monitor::Impl::getRequesterName |
( |
| ) |
|
|
inlinevirtual |
Underlying Channel is connected and operation setup is complete. Call start() to begin subscription updates.
- Parameters
-
status | Completion status. |
monitor | The monitor |
structure | The structure defining the data. |
Implements epics::pvAccess::MonitorRequester.
Definition at line 118 of file clientMonitor.cpp.
129 event.message.clear();
136 if(sts.isSuccess()) {
143 event.message = sts.getMessage();
ClientChannel::MonitorCallback * cb
const std::string & getMessage() const
const std::tr1::weak_ptr< Process2PutProxy > operation
std::tr1::shared_ptr< Monitor::Impl > internal_shared_from_this()
pva::MonitorElement::Ref last
void callEvent(CallbackGuard &G, MonitorEvent::event_t evt=MonitorEvent::Fail)
virtual void epics::pvAccess::Monitor::Impl::monitorEvent |
( |
pva::MonitorPtr const & |
monitor | ) |
|
|
inlinevirtual |
Monitor queue is not empty.
The requester must call Monitor.poll to get data.
- Parameters
-
Implements epics::pvAccess::MonitorRequester.
Definition at line 160 of file clientMonitor.cpp.
165 event.message.clear();
ClientChannel::MonitorCallback * cb
std::tr1::shared_ptr< Monitor::Impl > internal_shared_from_this()
void callEvent(CallbackGuard &G, MonitorEvent::event_t evt=MonitorEvent::Fail)
Data queue not empty. Call Monitor::poll()
virtual void epics::pvAccess::Monitor::Impl::unlisten |
( |
pva::MonitorPtr const & |
monitor | ) |
|
|
inlinevirtual |
No more subscription update will be sent.
- Parameters
-
Implements epics::pvAccess::MonitorRequester.
Definition at line 170 of file clientMonitor.cpp.
ClientChannel::MonitorCallback * cb
std::tr1::shared_ptr< Monitor::Impl > internal_shared_from_this()
void callEvent(CallbackGuard &G, MonitorEvent::event_t evt=MonitorEvent::Fail)
Data queue not empty. Call Monitor::poll()
ClientChannel::MonitorCallback* epics::pvAccess::Monitor::Impl::cb |
pva::Channel::shared_pointer epics::pvAccess::Monitor::Impl::chan |
bool epics::pvAccess::Monitor::Impl::done |
MonitorEvent epics::pvAccess::Monitor::Impl::event |
pva::MonitorElement::Ref epics::pvAccess::Monitor::Impl::last |
size_t epics::pvAccess::Monitor::Impl::num_instances |
|
static |
operation_type::shared_pointer epics::pvAccess::Monitor::Impl::op |
bool epics::pvAccess::Monitor::Impl::seenEmpty |
bool epics::pvAccess::Monitor::Impl::started |
The documentation for this struct was generated from the following file: