pva2pva  1.4.1
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
PDBGroupMonitor Struct Reference
Inheritance diagram for PDBGroupMonitor:
Inheritance graph
[legend]
Collaboration diagram for PDBGroupMonitor:
Collaboration graph
[legend]

Public Member Functions

 POINTER_DEFINITIONS (PDBGroupMonitor)
 
 PDBGroupMonitor (const PDBGroupPV::shared_pointer &pv, const requester_type::weak_pointer &requester, const epics::pvData::PVStructure::shared_pointer &pvReq)
 
virtual void onStart () OVERRIDE FINAL
 
virtual void onStop () OVERRIDE FINAL
 
virtual void requestUpdate () OVERRIDE FINAL
 
virtual void destroy () OVERRIDE FINAL
 
- Public Member Functions inherited from BaseMonitor
 POINTER_DEFINITIONS (BaseMonitor)
 
shared_pointer shared_from_this ()
 
 BaseMonitor (epicsMutex &lock, const requester_t::weak_pointer &requester, const epics::pvData::PVStructure::shared_pointer &pvReq)
 
const
epics::pvData::PVStructurePtr & 
getValue ()
 
void connect (guard_t &guard, const epics::pvData::PVStructurePtr &value)
 
bool post (guard_t &guard, const epics::pvData::BitSet &updated, no_overflow)
 post update if queue not full, if full return false w/o overflow
 
bool post (guard_t &guard)
 post update of pending changes. eg. call from requestUpdate()
 
bool post (guard_t &guard, const epics::pvData::BitSet &updated, const epics::pvData::BitSet &overflowed)
 post update with changed and overflowed masks (eg. when updates were lost in some upstream queue)
 
bool post (guard_t &guard, const epics::pvData::BitSet &updated)
 post update with changed
 
virtual void getStats (Stats &s) const
 

Public Attributes

PDBGroupPV::shared_pointer pv
 
bool atomic
 
- Public Attributes inherited from BaseMonitor
weak_pointer weakself
 
epicsMutex & lock
 

Static Public Attributes

static size_t num_instances
 

Additional Inherited Members

- Public Types inherited from BaseMonitor
typedef
epics::pvAccess::MonitorRequester 
requester_t
 
typedef epicsGuard< epicsMutex > guard_t
 
typedef epicsGuardRelease
< epicsMutex > 
unguard_t
 

Detailed Description

Definition at line 196 of file pdbgroup.h.

Member Function Documentation

void PDBGroupMonitor::requestUpdate ( )
virtual

called when within release() when the opportunity exists to end the overflow condition May do nothing, or lock and call post()

Reimplemented from BaseMonitor.

Definition at line 470 of file pdbgroup.cpp.

471 {
472  Guard G(pv->lock);
473  post(G);
474 }
bool post(guard_t &guard, const epics::pvData::BitSet &updated, no_overflow)
post update if queue not full, if full return false w/o overflow
Definition: pvahelper.h:136

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