![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Convenience Class for NTNDArrayAttribute. More...
#include "ntndarrayAttribute.h"
Public Member Functions | |
POINTER_DEFINITIONS (NTNDArrayAttribute) | |
bool | isValid () |
~NTNDArrayAttribute () | |
bool | attachTimeStamp (epics::pvData::PVTimeStamp &pvTimeStamp) const |
bool | attachAlarm (epics::pvData::PVAlarm &pvAlarm) const |
epics::pvData::PVStructurePtr | getPVStructure () const |
epics::pvData::PVStringPtr | getDescriptor () const |
epics::pvData::PVStructurePtr | getTimeStamp () const |
epics::pvData::PVStructurePtr | getAlarm () const |
epics::pvData::PVStringPtr | getName () const |
epics::pvData::PVUnionPtr | getValue () const |
epics::pvData::PVStringArrayPtr | getTags () const |
epics::pvData::PVIntPtr | getSourceType () const |
epics::pvData::PVStringPtr | getSource () const |
Static Public Member Functions | |
static shared_pointer | wrap (epics::pvData::PVStructurePtr const &pvStructure) |
static shared_pointer | wrapUnsafe (epics::pvData::PVStructurePtr const &pvStructure) |
static bool | is_a (epics::pvData::StructureConstPtr const &structure) |
static bool | is_a (epics::pvData::PVStructurePtr const &pvStructure) |
static bool | isCompatible (epics::pvData::StructureConstPtr const &structure) |
static bool | isCompatible (epics::pvData::PVStructurePtr const &pvStructure) |
static NTNDArrayAttributeBuilderPtr | createBuilder () |
Static Public Attributes | |
static const std::string | URI |
Friends | |
class | detail::NTNDArrayAttributeBuilder |
class | NTNDArray |
Convenience Class for NTNDArrayAttribute.
Definition at line 125 of file ntndarrayAttribute.h.
|
inline |
bool epics::nt::NTNDArrayAttribute::attachAlarm | ( | epics::pvData::PVAlarm & | pvAlarm | ) | const |
Attaches a PVAlarm to the wrapped PVStructure. Does nothing if no alarm field.
pvAlarm | the PVAlarm that will be attached. |
Definition at line 184 of file ntndarrayAttribute.cpp.
bool epics::nt::NTNDArrayAttribute::attachTimeStamp | ( | epics::pvData::PVTimeStamp & | pvTimeStamp | ) | const |
Attaches a PVTimeStamp to the wrapped PVStructure. Does nothing if no timeStamp field.
pvTimeStamp | the PVTimeStamp that will be attached. |
Definition at line 175 of file ntndarrayAttribute.cpp.
|
static |
Creates an NTNDArrayAttribute builder instance.
Definition at line 170 of file ntndarrayAttribute.cpp.
PVStructurePtr epics::nt::NTNDArrayAttribute::getAlarm | ( | ) | const |
Returns the alarm field.
Definition at line 208 of file ntndarrayAttribute.cpp.
PVStringPtr epics::nt::NTNDArrayAttribute::getDescriptor | ( | ) | const |
Returns the descriptor field.
Definition at line 198 of file ntndarrayAttribute.cpp.
PVStringPtr epics::nt::NTNDArrayAttribute::getName | ( | ) | const |
Returns the name field.
Definition at line 214 of file ntndarrayAttribute.cpp.
PVStructurePtr epics::nt::NTNDArrayAttribute::getPVStructure | ( | ) | const |
Returns the PVStructure wrapped by this instance.
Definition at line 193 of file ntndarrayAttribute.cpp.
PVStringPtr epics::nt::NTNDArrayAttribute::getSource | ( | ) | const |
Returns the source field.
Definition at line 234 of file ntndarrayAttribute.cpp.
PVIntPtr epics::nt::NTNDArrayAttribute::getSourceType | ( | ) | const |
Returns the sourceType field.
Definition at line 229 of file ntndarrayAttribute.cpp.
PVStringArrayPtr epics::nt::NTNDArrayAttribute::getTags | ( | ) | const |
Returns the tags field.
Definition at line 224 of file ntndarrayAttribute.cpp.
PVStructurePtr epics::nt::NTNDArrayAttribute::getTimeStamp | ( | ) | const |
Returns the timeStamp field.
Definition at line 203 of file ntndarrayAttribute.cpp.
PVUnionPtr epics::nt::NTNDArrayAttribute::getValue | ( | ) | const |
Returns the value field.
Definition at line 219 of file ntndarrayAttribute.cpp.
|
static |
Returns whether the specified Structure reports to be a compatible NTAttribute.
Checks if the specified Structure reports compatibility with this version of NTAttribute through its type ID, including checking version numbers. The return value does not depend on whether the structure is actually compatible in terms of its introspection type.
structure | the Structure to test |
Definition at line 127 of file ntndarrayAttribute.cpp.
|
static |
Returns whether the specified PVStructure reports to be a compatible NTAttribute.
Checks if the specified PVStructure reports compatibility with this version of NTAttribute through its type ID, including checking version numbers. The return value does not depend on whether the structure is actually compatible in terms of its introspection type.
pvStructure | the PVStructure to test |
Definition at line 132 of file ntndarrayAttribute.cpp.
|
static |
Returns whether the specified Structure is compatible with NTAttribute extended as required by NTNDArray.
Checks if the specified Structure is compatible with this version of NTAttribute extended as required by this version of NTNDArray through the introspection interface.
structure | the Structure to test |
Definition at line 149 of file ntndarrayAttribute.cpp.
|
static |
Returns whether the specified PVStructure is compatible with NTAttribute extended as required by NTNDArray.
Checks if the specified PVStructure is compatible with this version of NTAttribute extended as required by this version of NTNDArray through the introspection interface.
pvStructure | the PVStructure to test |
Definition at line 158 of file ntndarrayAttribute.cpp.
bool epics::nt::NTNDArrayAttribute::isValid | ( | ) |
Returns whether the wrapped PVStructure is valid with respect to this version of NTAttribute extended as per this version of NTNDArray.
Unlike isCompatible(), isValid() may perform checks on the value data as well as the introspection data.
Definition at line 165 of file ntndarrayAttribute.cpp.
epics::nt::NTNDArrayAttribute::POINTER_DEFINITIONS | ( | NTNDArrayAttribute | ) |
|
static |
Creates an NTNDArrayAttribute wrapping the specified PVStructure if the latter is compatible.
Checks the supplied PVStructure is compatible with NTAttribute extended as required by NTNDArray and if so returns an NTNDArrayAttribute which wraps it. This method will return null if the structure is is not compatible or is null.
pvStructure | the PVStructure to be wrapped |
Definition at line 116 of file ntndarrayAttribute.cpp.
|
static |
Creates an NTNDArrayAttribute wrapping the specified PVStructure, regardless of the latter's compatibility.
No checks are made as to whether the specified PVStructure is compatible with NTAttribute extended as required by NTNDArray or is non-null.
pvStructure | the PVStructure to be wrapped |
Definition at line 122 of file ntndarrayAttribute.cpp.
|
friend |
Definition at line 311 of file ntndarrayAttribute.h.
|
friend |
Definition at line 312 of file ntndarrayAttribute.h.
|
static |
Definition at line 130 of file ntndarrayAttribute.h.