PVData C++ 8.0.7
Loading...
Searching...
No Matches
standardPVField.h
1/* standardPVField.h */
2/*
3 * Copyright information and license terms for this software can be
4 * found in the file LICENSE that is included with the distribution
5 */
9#ifndef STANDARDPVFIELD_H
10#define STANDARDPVFIELD_H
11
12#include <string>
13#include <stdexcept>
14
15#include <pv/pvIntrospect.h>
16#include <pv/pvData.h>
17#include <pv/standardField.h>
18
19#include <shareLib.h>
20
21namespace epics { namespace pvData {
22
23class StandardPVField;
24typedef std::tr1::shared_ptr<StandardPVField> StandardPVFieldPtr;
25
38class epicsShareClass StandardPVField {
39 EPICS_NOT_COPYABLE(StandardPVField)
40public:
45 static StandardPVFieldPtr getStandardPVField();
54 PVStructurePtr scalar(ScalarType type,std::string const & properties);
62 PVStructurePtr scalarArray(ScalarType elementType, std::string const & properties);
70 PVStructurePtr structureArray(StructureConstPtr const &structure,std::string const & properties);
78 PVStructurePtr unionArray(UnionConstPtr const &punion,std::string const & properties);
93 PVStructurePtr enumerated(StringArray const &choices, std::string const & properties);
94private:
96 StandardFieldPtr standardField;
97 FieldCreatePtr fieldCreate;
98 PVDataCreatePtr pvDataCreate;
99 std::string notImplemented;
100};
101
102epicsShareExtern StandardPVFieldPtr getStandardPVField();
103
104}}
105#endif /* STANDARDPVFIELD_H */
StandardPVField is a class or creating standard data fields.
PVStructurePtr scalarArray(ScalarType elementType, std::string const &properties)
PVStructurePtr enumerated(StringArray const &choices)
PVStructurePtr scalar(ScalarType type, std::string const &properties)
static StandardPVFieldPtr getStandardPVField()
PVStructurePtr enumerated(StringArray const &choices, std::string const &properties)
PVStructurePtr structureArray(StructureConstPtr const &structure, std::string const &properties)
PVStructurePtr unionArray(UnionConstPtr const &punion, std::string const &properties)
std::tr1::shared_ptr< const Structure > StructureConstPtr
std::tr1::shared_ptr< PVStructure > PVStructurePtr
Definition pvData.h:87
std::tr1::shared_ptr< const Union > UnionConstPtr
epics
Definition convert.h:21