![]() |
This is Unofficial EPICS BASE Doxygen Site
|
This is a singleton class for creating data instances. More...
#include "pvData.h"
Static Public Member Functions | |
static const PVDataCreatePtr & | getPVDataCreate () |
Friends | |
struct | detail::pvfield_factory |
PVFieldPtr epics::pvData::PVDataCreate::createPVField | ( | FieldConstPtr const & | field | ) |
Create a PVField using given Field introspection data.
field | The introspection data to be used to create PVField. |
Definition at line 471 of file PVDataCreateFactory.cpp.
PVFieldPtr epics::pvData::PVDataCreate::createPVField | ( | PVFieldPtr const & | fieldToClone | ) |
Create a PVField using given a PVField to clone. This method calls the appropriate createPVScalar, createPVArray, or createPVStructure.
fieldToClone | The field to clone. |
Definition at line 502 of file PVDataCreateFactory.cpp.
PVScalarPtr epics::pvData::PVDataCreate::createPVScalar | ( | ScalarConstPtr const & | scalar | ) |
Create an implementation of a scalar field reusing the Scalar introspection interface.
scalar | The introspection interface. |
Definition at line 553 of file PVDataCreateFactory.cpp.
PVScalarPtr epics::pvData::PVDataCreate::createPVScalar | ( | ScalarType | scalarType | ) |
Create an implementation of a scalar field. A Scalar introspection interface is created.
scalarType | The scalar type. |
Definition at line 585 of file PVDataCreateFactory.cpp.
PVScalarPtr epics::pvData::PVDataCreate::createPVScalar | ( | PVScalarPtr const & | scalarToClone | ) |
Create an implementation of a scalar field by cloning an existing PVScalar. The new PVScalar will have the same value and auxInfo as the original.
scalarToClone | The PVScalar to clone. |
Definition at line 592 of file PVDataCreateFactory.cpp.
|
inline |
template version
PVT | must be a valid PVType |
Definition at line 1521 of file pvData.h.
PVScalarArrayPtr epics::pvData::PVDataCreate::createPVScalarArray | ( | ScalarArrayConstPtr const & | scalarArray | ) |
Create an implementation of an array field reusing the Array introspection interface.
scalarArray | The introspection interface. |
Definition at line 600 of file PVDataCreateFactory.cpp.
PVScalarArrayPtr epics::pvData::PVDataCreate::createPVScalarArray | ( | ScalarType | elementType | ) |
Create an implementation for an array field. An Array introspection interface is created.
elementType | The element type. |
Definition at line 633 of file PVDataCreateFactory.cpp.
PVScalarArrayPtr epics::pvData::PVDataCreate::createPVScalarArray | ( | PVScalarArrayPtr const & | scalarArrayToClone | ) |
Create an implementation of an array field by cloning an existing PVArray. The new PVArray will have the same value and auxInfo as the original.
scalarArrayToClone | The PVScalarArray to clone. |
Definition at line 640 of file PVDataCreateFactory.cpp.
|
inline |
template version
PVT | must be a valid pvType |
Definition at line 1590 of file pvData.h.
PVStructurePtr epics::pvData::PVDataCreate::createPVStructure | ( | StructureConstPtr const & | structure | ) |
Create implementation for PVStructure.
structure | The introspection interface. |
Definition at line 655 of file PVDataCreateFactory.cpp.
PVStructurePtr epics::pvData::PVDataCreate::createPVStructure | ( | StringArray const & | fieldNames, |
PVFieldPtrArray const & | pvFields | ||
) |
Create implementation for PVStructure.
fieldNames | The field names. |
pvFields | Array of PVFields |
Definition at line 683 of file PVDataCreateFactory.cpp.
PVStructurePtr epics::pvData::PVDataCreate::createPVStructure | ( | PVStructurePtr const & | structToClone | ) |
Create implementation for PVStructure.
structToClone | A structure. Each subfield and any auxInfo is cloned and added to the newly created structure. |
Definition at line 694 of file PVDataCreateFactory.cpp.
PVStructureArrayPtr epics::pvData::PVDataCreate::createPVStructureArray | ( | StructureArrayConstPtr const & | structureArray | ) |
Create an implementation of an array with structure elements.
structureArray | The introspection interface. All elements share the same introspection interface. |
Definition at line 649 of file PVDataCreateFactory.cpp.
|
inline |
Create an implementation of an array with structure elements.
structure | The introspection interface that is used to create StructureArrayConstPtr. All elements share the same introspection interface. |
Definition at line 1608 of file pvData.h.
PVUnionPtr epics::pvData::PVDataCreate::createPVUnion | ( | UnionConstPtr const & | punion | ) |
Create implementation for PVUnion.
punion | The introspection interface. |
Definition at line 667 of file PVDataCreateFactory.cpp.
PVUnionPtr epics::pvData::PVDataCreate::createPVUnion | ( | PVUnionPtr const & | unionToClone | ) |
Create implementation for PVUnion.
unionToClone | A union. Each subfield is cloned and added to the newly created union. |
Definition at line 710 of file PVDataCreateFactory.cpp.
PVUnionArrayPtr epics::pvData::PVDataCreate::createPVUnionArray | ( | UnionArrayConstPtr const & | unionArray | ) |
Create an implementation of an array with union elements.
unionArray | The introspection interface. All elements share the same introspection interface. |
Definition at line 661 of file PVDataCreateFactory.cpp.
|
inline |
Create an implementation of an array with union elements.
punion | The introspection interface that is used to create UnionArrayConstPtr. All elements share the same introspection interface. |
Definition at line 1626 of file pvData.h.
PVUnionPtr epics::pvData::PVDataCreate::createPVVariantUnion | ( | ) |
Create variant union implementation.
Definition at line 673 of file PVDataCreateFactory.cpp.
PVUnionArrayPtr epics::pvData::PVDataCreate::createPVVariantUnionArray | ( | ) |
Create variant union array implementation.
Definition at line 678 of file PVDataCreateFactory.cpp.
|
static |
get the singleton
Definition at line 739 of file PVDataCreateFactory.cpp.
|
friend |