Class PVScalarArray¶
Defined in File pvData.h
Inheritance Relationships¶
Base Type¶
public epics::pvData::PVArray
(Class PVArray)
Derived Type¶
public epics::pvData::detail::PVVectorStorage< T, PVScalarArray >
(Template Class PVVectorStorage)
Class Documentation¶
-
class PVScalarArray : public epics::pvData::PVArray¶
Base class for a scalarArray.
Subclassed by epics::pvData::detail::PVVectorStorage< T, PVScalarArray >
Public Functions
-
POINTER_DEFINITIONS(PVScalarArray)¶
-
virtual ~PVScalarArray()¶
Destructor
-
const ScalarArrayConstPtr getScalarArray() const¶
Get the introspection interface
- Returns
The interface.
Fetch the current value and convert to the requested type.
A copy is made if the requested type does not match the element type. If the types do match then no copy is made.
Assign the given value after conversion.
A copy and element-wise conversion is performed unless the element type of the PVScalarArray matches the type of the provided data. If the types do match then a new reference to the provided data is kept.
Calls postPut()
-
inline void assign(const PVScalarArray &pv)¶
Assign the given PVScalarArray’s value.
A copy and element-wise conversion is performed unless the element type of the PVScalarArray matches the type of the provided data. If the types do match then a new reference to the provided data is kept.
-
inline void copy(const PVScalarArray &from)¶
-
inline void copyUnchecked(const PVScalarArray &from)¶
-
POINTER_DEFINITIONS(PVScalarArray)¶