PVData C++
8.0.6
|
Standard Fields is a class or creating or sharing Field objects for standard fields. More...
#include <pv/standardField.h>
Static Public Member Functions | |
static const StandardFieldPtr & | getStandardField () |
Standard Fields is a class or creating or sharing Field objects for standard fields.
For each type of standard object two methods are defined:s one with no properties and with properties The property field is a comma separated string of property names of the following: alarm, timeStamp, display, control, and valueAlarm. An example is "alarm,timeStamp,valueAlarm". The method with properties creates a structure with fields named fieldName and each of the property names. Each property field is a structure defining the property. The details about each property is given in the section named "Property". For example the call:
Will result in a Field definition that has the form:
In addition there are methods that create each of the property structures, i.e. the methods named: alarm, .... enumeratedAlarm."
StandardField is a singleton class. The class is accessed via the statement:
Definition at line 63 of file standardField.h.
|
inline |
create an alarm structure
Definition at line 135 of file standardField.h.
|
inline |
create a boolean alarm structure
Definition at line 155 of file standardField.h.
|
inline |
create a byte alarm structure
Definition at line 160 of file standardField.h.
|
inline |
create a control structure
Definition at line 150 of file standardField.h.
|
inline |
create a display structure
Definition at line 145 of file standardField.h.
|
inline |
create a double alarm structure
Definition at line 205 of file standardField.h.
StructureConstPtr epics::pvData::StandardField::enumerated | ( | ) |
Create a structure that has an enumerated structure value field. The id for the structure is "enum_t".
StructureConstPtr epics::pvData::StandardField::enumerated | ( | std::string const & | properties | ) |
Create a structure that has an enumerated structure value field The id for the structure is "epics:nt/NTEnum:1.0".
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |
|
inline |
create an enumerated alarm structure
Definition at line 210 of file standardField.h.
|
inline |
create a float alarm structure
Definition at line 200 of file standardField.h.
|
static |
getStandardField returns the singleton.
|
inline |
create an int alarm structure
Definition at line 180 of file standardField.h.
|
inline |
create a long alarm structure
Definition at line 190 of file standardField.h.
StructureConstPtr epics::pvData::StandardField::regUnion | ( | UnionConstPtr const & | punion, |
std::string const & | properties | ||
) |
Create a structure that has a union value field.
punion | The interface for value field. |
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |
StructureConstPtr epics::pvData::StandardField::scalar | ( | ScalarType | type, |
std::string const & | properties | ||
) |
Create a structure that has a scalar value field.
type | The type. |
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |
StructureConstPtr epics::pvData::StandardField::scalarArray | ( | ScalarType | elementType, |
std::string const & | properties | ||
) |
Create a structure that has a scalarArray value field.
elementType | The element type. |
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |
|
inline |
create a short alarm structure
Definition at line 170 of file standardField.h.
StructureConstPtr epics::pvData::StandardField::structureArray | ( | StructureConstPtr const & | structure, |
std::string const & | properties | ||
) |
Create a structure that has a structureArray value field.
structure | The Structure introspection object for elements of the value field. |
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |
|
inline |
create a timeStamp structure
Definition at line 140 of file standardField.h.
|
inline |
create a unsigned byte alarm structure
Definition at line 165 of file standardField.h.
|
inline |
create a unsigned int alarm structure
Definition at line 185 of file standardField.h.
|
inline |
create a unsigned long alarm structure
Definition at line 195 of file standardField.h.
StructureConstPtr epics::pvData::StandardField::unionArray | ( | UnionConstPtr const & | punion, |
std::string const & | properties | ||
) |
Create a structure that has a unionArray value field.
punion | The Union introspection object for elements of the value field. |
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control". |
|
inline |
create a unsigned short alarm structure
Definition at line 175 of file standardField.h.
StructureConstPtr epics::pvData::StandardField::variantUnion | ( | std::string const & | properties | ) |
Create a structure that has a variant union value field.
properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |