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

Public Member Functions

 POINTER_DEFINITIONS (PDBSingleMonitor)
 
 PDBSingleMonitor (const PDBSinglePV::shared_pointer &pv, const requester_t::shared_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

const PDBSinglePV::shared_pointer pv
 
- 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 138 of file pdbsingle.h.

Member Function Documentation

void PDBSingleMonitor::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 485 of file pdbsingle.cpp.

486 {
487  guard_t G(pv->lock);
488  post(G);
489 }
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: