![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Convenience Class for NTNDArray. More...
#include "ntndarray.h"
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 NTNDArrayBuilderPtr | createBuilder () |
Static Public Attributes | |
static const std::string | URI |
Friends | |
class | detail::NTNDArrayBuilder |
Convenience Class for NTNDArray.
Definition at line 128 of file ntndarray.h.
|
inline |
bool epics::nt::NTNDArray::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 399 of file ntndarray.cpp.
bool epics::nt::NTNDArray::attachDataTimeStamp | ( | epics::pvData::PVTimeStamp & | pvTimeStamp | ) | const |
Attaches a pvTimeStamp to dataTimeStamp field.
pvTimeStamp | The pvTimeStamp that will be attached. Does nothing if no timeStamp. |
Definition at line 390 of file ntndarray.cpp.
bool epics::nt::NTNDArray::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 408 of file ntndarray.cpp.
bool epics::nt::NTNDArray::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 381 of file ntndarray.cpp.
|
static |
Creates an NTNDArrayBuilder instance
Definition at line 375 of file ntndarray.cpp.
PVStructurePtr epics::nt::NTNDArray::getAlarm | ( | ) | const |
Returns the alarm field.
Definition at line 472 of file ntndarray.cpp.
PVStructureArrayPtr epics::nt::NTNDArray::getAttribute | ( | ) | const |
Returns the attribute field.
Definition at line 457 of file ntndarray.cpp.
PVStructurePtr epics::nt::NTNDArray::getCodec | ( | ) | const |
PVLongPtr epics::nt::NTNDArray::getCompressedDataSize | ( | ) | const |
Returns the compressedDataSize field.
Definition at line 432 of file ntndarray.cpp.
PVStructurePtr epics::nt::NTNDArray::getDataTimeStamp | ( | ) | const |
Returns the dataTimeStamp field.
Definition at line 452 of file ntndarray.cpp.
PVStringPtr epics::nt::NTNDArray::getDescriptor | ( | ) | const |
Returns the descriptor field.
Definition at line 462 of file ntndarray.cpp.
PVStructureArrayPtr epics::nt::NTNDArray::getDimension | ( | ) | const |
Returns the dimension field.
Definition at line 442 of file ntndarray.cpp.
PVStructurePtr epics::nt::NTNDArray::getDisplay | ( | ) | const |
Returns the display field.
Definition at line 477 of file ntndarray.cpp.
PVStructurePtr epics::nt::NTNDArray::getPVStructure | ( | ) | const |
Returns the PVStructure wrapped by this instance.
Definition at line 417 of file ntndarray.cpp.
PVStructurePtr epics::nt::NTNDArray::getTimeStamp | ( | ) | const |
Returns the timeStamp field.
Definition at line 467 of file ntndarray.cpp.
PVLongPtr epics::nt::NTNDArray::getUncompressedDataSize | ( | ) | const |
Returns the uncompressedDataSize field.
Definition at line 437 of file ntndarray.cpp.
PVIntPtr epics::nt::NTNDArray::getUniqueId | ( | ) | const |
Returns the uniqueId field.
Definition at line 447 of file ntndarray.cpp.
PVUnionPtr epics::nt::NTNDArray::getValue | ( | ) | const |
|
static |
Returns whether the specified Structure reports to be a compatible NTNDArray.
Checks if the specified Structure reports compatibility with this version of NTNDArray 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 pvStructure to test |
Definition at line 211 of file ntndarray.cpp.
|
static |
Returns whether the specified PVStructure reports to be a compatible NTNDArray.
Checks if the specified PVStructure reports compatibility with this version of NTNDArray 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 216 of file ntndarray.cpp.
|
static |
Returns whether the specified Structure is compatible with NTNDArray.
Checks if the specified Structure is compatible with this version of NTNDArray through the introspection interface.
structure | the Structure to test |
Definition at line 255 of file ntndarray.cpp.
|
static |
Returns whether the specified PVStructure is compatible with NTNDArray.
Checks if the specified PVStructure is compatible with this version of NTNDArray through the introspection interface.
pvStructure | the PVStructure to test |
Definition at line 280 of file ntndarray.cpp.
bool epics::nt::NTNDArray::isValid | ( | ) |
Returns whether the wrapped PVStructure is valid with respect to this version of NTNDArray.
Unlike isCompatible(), isValid() may perform checks on the value data as well as the introspection data.
Definition at line 287 of file ntndarray.cpp.
epics::nt::NTNDArray::POINTER_DEFINITIONS | ( | NTNDArray | ) |
|
static |
Creates an NTScalarArray wrapping the specified PVStructure if the latter is compatible.
Checks the supplied PVStructure is compatible with NTScalarArray and if so returns an NTScalarArray 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 200 of file ntndarray.cpp.
|
static |
Creates an NTNDArray wrapping the specified PVStructure, regardless of the latter's compatibility.
No checks are made as to whether the specified PVStructure is compatible with NTNDArray or is non-null.
pvStructure | the PVStructure to be wrapped |
Definition at line 206 of file ntndarray.cpp.
|
friend |
Definition at line 349 of file ntndarray.h.
|
static |
Definition at line 133 of file ntndarray.h.