![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Interface for in-line creating of NTUnion. More...
#include "ntunion.h"
Public Member Functions | |
POINTER_DEFINITIONS (NTUnionBuilder) | |
shared_pointer | value (epics::pvData::UnionConstPtr unionType) |
shared_pointer | addDescriptor () |
shared_pointer | addAlarm () |
shared_pointer | addTimeStamp () |
epics::pvData::StructureConstPtr | createStructure () |
epics::pvData::PVStructurePtr | createPVStructure () |
NTUnionPtr | create () |
shared_pointer | add (std::string const &name, epics::pvData::FieldConstPtr const &field) |
Friends | |
class | ::epics::nt::NTUnion |
Interface for in-line creating of NTUnion.
One instance can be used to create multiple instances. An instance of this object must not be used concurrently (an object has a state).
NTUnionBuilder::shared_pointer epics::nt::detail::NTUnionBuilder::add | ( | std::string const & | name, |
epics::pvData::FieldConstPtr const & | field | ||
) |
Adds extra Field to the type.
name | the name of the field. |
field | the field to be added. |
Definition at line 99 of file ntunion.cpp.
NTUnionBuilder::shared_pointer epics::nt::detail::NTUnionBuilder::addAlarm | ( | ) |
Adds alarm field to the NTUnion.
Definition at line 62 of file ntunion.cpp.
NTUnionBuilder::shared_pointer epics::nt::detail::NTUnionBuilder::addDescriptor | ( | ) |
Adds descriptor field to the NTUnion.
Definition at line 56 of file ntunion.cpp.
NTUnionBuilder::shared_pointer epics::nt::detail::NTUnionBuilder::addTimeStamp | ( | ) |
Adds timeStamp field to the NTUnion.
Definition at line 68 of file ntunion.cpp.
NTUnionPtr epics::nt::detail::NTUnionBuilder::create | ( | ) |
Creates a NTUnion instance. This resets this instance state and allows new instance to be created.
Definition at line 79 of file ntunion.cpp.
PVStructurePtr epics::nt::detail::NTUnionBuilder::createPVStructure | ( | ) |
Creates a PVStructure that represents NTUnion. This resets this instance state and allows new instance to be created.
Definition at line 74 of file ntunion.cpp.
StructureConstPtr epics::nt::detail::NTUnionBuilder::createStructure | ( | ) |
Creates a Structure that represents NTUnion. This resets this instance state and allows new instance to be created.
Definition at line 29 of file ntunion.cpp.
epics::nt::detail::NTUnionBuilder::POINTER_DEFINITIONS | ( | NTUnionBuilder | ) |
NTUnionBuilder::shared_pointer epics::nt::detail::NTUnionBuilder::value | ( | epics::pvData::UnionConstPtr | unionType | ) |
Specifies the union for the value field. If this is not called then a variant union is the default.
unionType | the introspection object for the union value field |
Definition at line 23 of file ntunion.cpp.
|
friend |