This is Unofficial EPICS BASE Doxygen Site
beaconServerStatusProvider.cpp
Go to the documentation of this file.
1 
7 #define epicsExportSharedSymbols
8 #include <pv/serverContext.h>
10 
11 using namespace epics::pvData;
12 
13 namespace epics {
14 namespace pvAccess {
15 
16 DefaultBeaconServerStatusProvider::DefaultBeaconServerStatusProvider(ServerContext::shared_pointer const & context)
17  :_status(getPVDataCreate()->createPVStructure(getFieldCreate()->createFieldBuilder()
18  ->add("connections", pvInt)
19  ->add("connections", pvInt)
20  ->add("allocatedMemory", pvLong)
21  ->add("freeMemory", pvLong)
22  ->add("threads", pvInt)
23  ->add("deadlocks", pvInt)
24  ->add("averageSystemLoad", pvDouble)
25  ->createStructure()))
26 {}
27 
29 
31 {
32  //TODO implement (fill data)
33  return _status;
34 }
35 
36 }
37 }
TODO only here because of the Lockable.
Definition: ntaggregate.cpp:16
virtual epics::pvData::PVField::shared_pointer getServerStatusData()
pvData
Definition: monitor.h:428
FORCE_INLINE const FieldCreatePtr & getFieldCreate()
FORCE_INLINE const PVDataCreatePtr & getPVDataCreate()
Definition: pvData.h:1648