![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Convenience Class for NTAggregate. More...
#include "ntaggregate.h"
Public Member Functions | |
POINTER_DEFINITIONS (NTAggregate) | |
bool | isValid () |
~NTAggregate () | |
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::PVDoublePtr | getValue () const |
epics::pvData::PVLongPtr | getN () const |
epics::pvData::PVDoublePtr | getDispersion () const |
epics::pvData::PVDoublePtr | getFirst () const |
epics::pvData::PVStructurePtr | getFirstTimeStamp () const |
epics::pvData::PVDoublePtr | getLast () const |
epics::pvData::PVStructurePtr | getLastTimeStamp () const |
epics::pvData::PVDoublePtr | getMax () const |
epics::pvData::PVDoublePtr | getMin () 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 NTAggregateBuilderPtr | createBuilder () |
Static Public Attributes | |
static const std::string | URI |
Friends | |
class | detail::NTAggregateBuilder |
Convenience Class for NTAggregate.
Definition at line 166 of file ntaggregate.h.
|
inline |
bool epics::nt::NTAggregate::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 247 of file ntaggregate.cpp.
bool epics::nt::NTAggregate::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 238 of file ntaggregate.cpp.
|
static |
Creates an NTAggregate builder instance.
Definition at line 233 of file ntaggregate.cpp.
PVStructurePtr epics::nt::NTAggregate::getAlarm | ( | ) | const |
Returns the alarm field.
Definition at line 271 of file ntaggregate.cpp.
PVStringPtr epics::nt::NTAggregate::getDescriptor | ( | ) | const |
Returns the descriptor field.
Definition at line 261 of file ntaggregate.cpp.
PVDoublePtr epics::nt::NTAggregate::getDispersion | ( | ) | const |
Returns the dispersion field.
Definition at line 286 of file ntaggregate.cpp.
PVDoublePtr epics::nt::NTAggregate::getFirst | ( | ) | const |
Returns the first field.
Definition at line 291 of file ntaggregate.cpp.
PVStructurePtr epics::nt::NTAggregate::getFirstTimeStamp | ( | ) | const |
Returns the firstTimeStamp field.
Definition at line 296 of file ntaggregate.cpp.
PVDoublePtr epics::nt::NTAggregate::getLast | ( | ) | const |
Returns the last field.
Definition at line 301 of file ntaggregate.cpp.
PVStructurePtr epics::nt::NTAggregate::getLastTimeStamp | ( | ) | const |
Returns the lastTimeStamp field.
Definition at line 306 of file ntaggregate.cpp.
PVDoublePtr epics::nt::NTAggregate::getMax | ( | ) | const |
Returns the max field.
Definition at line 311 of file ntaggregate.cpp.
PVDoublePtr epics::nt::NTAggregate::getMin | ( | ) | const |
Returns the min field.
Definition at line 316 of file ntaggregate.cpp.
PVLongPtr epics::nt::NTAggregate::getN | ( | ) | const |
Returns the N field.
Definition at line 281 of file ntaggregate.cpp.
PVStructurePtr epics::nt::NTAggregate::getPVStructure | ( | ) | const |
Returns the PVStructure wrapped by this instance.
Definition at line 256 of file ntaggregate.cpp.
PVStructurePtr epics::nt::NTAggregate::getTimeStamp | ( | ) | const |
Returns the timeStamp field.
Definition at line 266 of file ntaggregate.cpp.
PVDoublePtr epics::nt::NTAggregate::getValue | ( | ) | const |
|
static |
Returns whether the specified Structure reports to be a compatible NTAggregate.
Checks if the specified Structure reports compatibility with this version of NTAggregate 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 186 of file ntaggregate.cpp.
|
static |
Returns whether the specified PVStructure reports to be a compatible NTAggregate.
Checks if the specified PVStructure reports compatibility with this version of NTAggregate 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 191 of file ntaggregate.cpp.
|
static |
Returns whether the specified Structure is compatible with NTAggregate.
Checks if the specified Structure is compatible with this version of NTAggregate through introspection interface.
structure | the Structure to test |
Definition at line 197 of file ntaggregate.cpp.
|
static |
Returns whether the specified PVStructure is compatible with NTAggregate.
Checks if the specified PVStructure is compatible with this version of NTAggregate through introspection interface.
pvStructure | the PVStructure to test |
Definition at line 221 of file ntaggregate.cpp.
bool epics::nt::NTAggregate::isValid | ( | ) |
Returns whether the wrapped PVStructure is valid with respect to this version of NTAggregate.
Unlike isCompatible(), isValid() may perform checks on the value data as well as the introspection data.
Definition at line 228 of file ntaggregate.cpp.
epics::nt::NTAggregate::POINTER_DEFINITIONS | ( | NTAggregate | ) |
|
static |
Creates an NTAggregate wrapping the specified PVStructure if the latter is compatible.
Checks the supplied PVStructure is compatible with NTAggregate and if so returns an NTAggregate 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 175 of file ntaggregate.cpp.
|
static |
Creates an NTAggregate wrapping the specified PVStructure, regardless of the latter's compatibility.
No checks are made as to whether the specified PVStructure is compatible with NTAggregate or is non-null.
pvStructure | the PVStructure to be wrapped |
Definition at line 181 of file ntaggregate.cpp.
|
friend |
Definition at line 368 of file ntaggregate.h.
|
static |
Definition at line 171 of file ntaggregate.h.