|
PVData C++ 8.0.7
|
StandardPVField is a class or creating standard data fields. More...
#include <pv/standardPVField.h>
Public Member Functions | |
| PVStructurePtr | scalar (ScalarType type, std::string const &properties) |
| PVStructurePtr | scalarArray (ScalarType elementType, std::string const &properties) |
| PVStructurePtr | structureArray (StructureConstPtr const &structure, std::string const &properties) |
| PVStructurePtr | unionArray (UnionConstPtr const &punion, std::string const &properties) |
| PVStructurePtr | enumerated (StringArray const &choices) |
| PVStructurePtr | enumerated (StringArray const &choices, std::string const &properties) |
Static Public Member Functions | |
| static StandardPVFieldPtr | getStandardPVField () |
StandardPVField is a class or creating standard data fields.
Like class StandardField it has two forms of the methods which create a fields: one without properties and one with properties. The properties are some combination of alarm, timeStamp, control, display, and valueAlarm. Just like StandardField there are methods to create the standard properties.
StandardPVField is a singleton class. The class is accessed via the statement:
StandardPVField *standardPVField = getStandardPVField();
Definition at line 38 of file standardPVField.h.
| PVStructurePtr epics::pvData::StandardPVField::enumerated | ( | StringArray const & | choices | ) |
Create a structure that has an enumerated structure value field. The id for the structure is "enum_t".
| choices | This is a StringArray of choices. |
| PVStructurePtr epics::pvData::StandardPVField::enumerated | ( | StringArray const & | choices, |
| 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".
| choices | This is a StringArray of choices. |
| properties | A comma separated list of properties. |
|
static |
getStandardPVField returns the singleton.
| PVStructurePtr epics::pvData::StandardPVField::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". |
| PVStructurePtr epics::pvData::StandardPVField::scalarArray | ( | ScalarType | elementType, |
| std::string const & | properties ) |
Create a structure that has a scalar array value field.
| elementType | The element scalar type. |
| properties | A comma separated list of properties. This is some combination of "alarm,timeStamp,display,control,valueAlarm". |
| PVStructurePtr epics::pvData::StandardPVField::structureArray | ( | StructureConstPtr const & | structure, |
| std::string const & | properties ) |
Create a structure that has a structure array 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". |
| PVStructurePtr epics::pvData::StandardPVField::unionArray | ( | UnionConstPtr const & | punion, |
| std::string const & | properties ) |
Create a structure that has a union array 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,valueAlarm". |