![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Convenience Class for NTMatrix. More...
#include "ntmatrix.h"
Public Member Functions | |
POINTER_DEFINITIONS (NTMatrix) | |
bool | isValid () |
~NTMatrix () | |
bool | attachTimeStamp (epics::pvData::PVTimeStamp &pvTimeStamp) const |
bool | attachAlarm (epics::pvData::PVAlarm &pvAlarm) const |
bool | attachDisplay (epics::pvData::PVDisplay &pvDisplay) const |
epics::pvData::PVStructurePtr | getPVStructure () const |
epics::pvData::PVStringPtr | getDescriptor () const |
epics::pvData::PVStructurePtr | getTimeStamp () const |
epics::pvData::PVStructurePtr | getAlarm () const |
epics::pvData::PVStructurePtr | getDisplay () const |
epics::pvData::PVDoubleArrayPtr | getValue () const |
epics::pvData::PVIntArrayPtr | getDim () 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 NTMatrixBuilderPtr | createBuilder () |
Static Public Attributes | |
static const std::string | URI |
Friends | |
class | detail::NTMatrixBuilder |
Convenience Class for NTMatrix.
Definition at line 134 of file ntmatrix.h.
|
inline |
bool epics::nt::NTMatrix::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 207 of file ntmatrix.cpp.
bool epics::nt::NTMatrix::attachDisplay | ( | epics::pvData::PVDisplay & | pvDisplay | ) | const |
Attaches a PVDisplay to the wrapped PVStructure. Does nothing if no display.
pvDisplay | the PVDisplay that will be attached. |
Definition at line 216 of file ntmatrix.cpp.
bool epics::nt::NTMatrix::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 198 of file ntmatrix.cpp.
|
static |
Creates an NTMatrix builder instance.
Definition at line 193 of file ntmatrix.cpp.
PVStructurePtr epics::nt::NTMatrix::getAlarm | ( | ) | const |
Returns the alarm field.
Definition at line 240 of file ntmatrix.cpp.
PVStringPtr epics::nt::NTMatrix::getDescriptor | ( | ) | const |
Returns the descriptor field.
Definition at line 230 of file ntmatrix.cpp.
PVIntArrayPtr epics::nt::NTMatrix::getDim | ( | ) | const |
Returns the dim field.
Definition at line 255 of file ntmatrix.cpp.
PVStructurePtr epics::nt::NTMatrix::getDisplay | ( | ) | const |
Returns the display field.
Definition at line 245 of file ntmatrix.cpp.
PVStructurePtr epics::nt::NTMatrix::getPVStructure | ( | ) | const |
Get the PVStructure wrapped by this instance.
Definition at line 225 of file ntmatrix.cpp.
PVStructurePtr epics::nt::NTMatrix::getTimeStamp | ( | ) | const |
Returns the timeStamp field.
Definition at line 235 of file ntmatrix.cpp.
PVDoubleArrayPtr epics::nt::NTMatrix::getValue | ( | ) | const |
|
static |
Returns whether the specified Structure reports to be a compatible NTMatrix.
Checks if the specified Structure reports compatibility with this version of NTMatrix 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 132 of file ntmatrix.cpp.
|
static |
Returns whether the specified PVStructure reports to be a compatible NTMatrix.
Checks if the specified PVStructure reports compatibility with this version of NTMatrix 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 137 of file ntmatrix.cpp.
|
static |
Returns whether the specified Structure is compatible with NTMatrix.
Checks if the specified Structure is compatible with this version of NTMatrix through the introspection interface.
structure | the Structure to test |
Definition at line 142 of file ntmatrix.cpp.
|
static |
Returns whether the specified PVStructure is compatible with NTMatrix.
Checks if the specified PVStructure is compatible with this version of NTMatrix through the introspection interface.
pvStructure | the PVStructure to test |
Definition at line 160 of file ntmatrix.cpp.
bool epics::nt::NTMatrix::isValid | ( | ) |
Returns whether the wrapped PVStructure is valid with respect to this version of NTMatrix.
Unlike isCompatible(), isValid() may perform checks on the value data as well as the introspection data.
Definition at line 167 of file ntmatrix.cpp.
epics::nt::NTMatrix::POINTER_DEFINITIONS | ( | NTMatrix | ) |
|
static |
Creates an NTMatrix wrapping the specified PVStructure if the latter is compatible.
Checks the supplied PVStructure is compatible with NTMatrix and if so returns an NTMatrix 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 121 of file ntmatrix.cpp.
|
static |
Creates an NTMatrix wrapping the specified PVStructure, regardless of the latter's compatibility.
No checks are made as to whether the specified PVStructure is compatible with NTMatrix or is non-null.
pvStructure | the PVStructure to be wrapped |
Definition at line 127 of file ntmatrix.cpp.
|
friend |
Definition at line 308 of file ntmatrix.h.
|
static |
Definition at line 139 of file ntmatrix.h.