![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Interface for in-line creating of NTTable. More...
#include "nttable.h"
Public Member Functions | |
POINTER_DEFINITIONS (NTTableBuilder) | |
shared_pointer | addColumn (std::string const &name, epics::pvData::ScalarType elementType) |
shared_pointer | addDescriptor () |
shared_pointer | addAlarm () |
shared_pointer | addTimeStamp () |
epics::pvData::StructureConstPtr | createStructure () |
epics::pvData::PVStructurePtr | createPVStructure () |
NTTablePtr | create () |
shared_pointer | add (std::string const &name, epics::pvData::FieldConstPtr const &field) |
Friends | |
class | ::epics::nt::NTTable |
Interface for in-line creating of NTTable.
One instance can be used to create multiple instances. An instance of this object must not be used concurrently (an object has a state).
NTTableBuilder::shared_pointer epics::nt::detail::NTTableBuilder::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 119 of file nttable.cpp.
NTTableBuilder::shared_pointer epics::nt::detail::NTTableBuilder::addAlarm | ( | ) |
Adds alarm field to the NTTable.
Definition at line 77 of file nttable.cpp.
NTTableBuilder::shared_pointer epics::nt::detail::NTTableBuilder::addColumn | ( | std::string const & | name, |
epics::pvData::ScalarType | elementType | ||
) |
Adds a column of given Scalar type.
name | name of the column. |
elementType | column type, a scalar array. |
Definition at line 23 of file nttable.cpp.
NTTableBuilder::shared_pointer epics::nt::detail::NTTableBuilder::addDescriptor | ( | ) |
Adds descriptor field to the NTTable.
Definition at line 71 of file nttable.cpp.
NTTableBuilder::shared_pointer epics::nt::detail::NTTableBuilder::addTimeStamp | ( | ) |
Adds timeStamp field to the NTTable.
Definition at line 83 of file nttable.cpp.
NTTablePtr epics::nt::detail::NTTableBuilder::create | ( | ) |
Creates a NTTable instance. The returned NTTable will wrap a PVStructure which will have labels equal to the column names. This resets this instance state and allows new instance to be created.
Definition at line 100 of file nttable.cpp.
PVStructurePtr epics::nt::detail::NTTableBuilder::createPVStructure | ( | ) |
Creates a PVStructure that represents NTTable. The returned PVStructure will have labels equal to the column names. This resets this instance state and allows new instance to be created.
Definition at line 89 of file nttable.cpp.
StructureConstPtr epics::nt::detail::NTTableBuilder::createStructure | ( | ) |
Creates a Structure that represents NTTable. This resets this instance state and allows new instance to be created.
Definition at line 36 of file nttable.cpp.
epics::nt::detail::NTTableBuilder::POINTER_DEFINITIONS | ( | NTTableBuilder | ) |
|
friend |