This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
beaconServerStatusProvider.cpp
Go to the documentation of this file.
1
7
#define epicsExportSharedSymbols
8
#include <
pv/serverContext.h
>
9
#include <
pv/beaconServerStatusProvider.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
28
DefaultBeaconServerStatusProvider::~DefaultBeaconServerStatusProvider
() {}
29
30
PVField::shared_pointer
DefaultBeaconServerStatusProvider::getServerStatusData
()
31
{
32
//TODO implement (fill data)
33
return
_status;
34
}
35
36
}
37
}
epics
TODO only here because of the Lockable.
Definition:
ntaggregate.cpp:16
beaconServerStatusProvider.h
epics::pvData::pvInt
Definition:
pvIntrospect.h:245
epics::pvAccess::DefaultBeaconServerStatusProvider::getServerStatusData
virtual epics::pvData::PVField::shared_pointer getServerStatusData()
Definition:
beaconServerStatusProvider.cpp:30
epics::pvData
pvData
Definition:
monitor.h:428
epics::pvData::getFieldCreate
FORCE_INLINE const FieldCreatePtr & getFieldCreate()
Definition:
pvIntrospect.h:1416
epics::pvData::pvDouble
Definition:
pvIntrospect.h:273
serverContext.h
epics::pvAccess::DefaultBeaconServerStatusProvider::~DefaultBeaconServerStatusProvider
virtual ~DefaultBeaconServerStatusProvider()
Definition:
beaconServerStatusProvider.cpp:28
epics::pvData::pvLong
Definition:
pvIntrospect.h:249
epics::pvData::getPVDataCreate
FORCE_INLINE const PVDataCreatePtr & getPVDataCreate()
Definition:
pvData.h:1648
modules
pvAccess
src
server
beaconServerStatusProvider.cpp
Generated by
1.8.11