Template Class PVVectorStorage¶
Defined in File pvData.h
Inheritance Relationships¶
Base Type¶
public Base
Class Documentation¶
-
template<typename T, class Base>
class PVVectorStorage : public Base¶ Common code for PV*Array.
Public Types
-
typedef ::epics::pvData::shared_vector<T> svector¶
-
typedef ::epics::pvData::shared_vector<const T> const_svector¶
Public Functions
-
inline virtual ~PVVectorStorage()¶
-
virtual const_svector view() const = 0¶
Fetch a read-only view of the current array data.
-
virtual void swap(const_svector &other) = 0¶
Exchange our contents for the provided.
Callers must ensure that postPut() is called after the last swap() operation.
Before you call this directly, consider using the reuse(), or replace() methods.
- Throws
std::logic_error – for Immutable arrays.
-
virtual void replace(const const_svector &next) = 0¶
Discard current contents and replaced with the provided. Fails for Immutable arrays calls postPut()
-
typedef ::epics::pvData::shared_vector<T> svector¶