![]() |
This is Unofficial EPICS BASE Doxygen Site
|
template class for all extensions of PVArray. More...
#include "pvData.h"
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef ::epics::pvData::shared_vector< T > | svector |
typedef ::epics::pvData::shared_vector< const T > | const_svector |
![]() | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef ::epics::pvData::shared_vector< T > | svector |
typedef ::epics::pvData::shared_vector< const T > | const_svector |
![]() | |
typedef PVScalarArray & | reference |
typedef const PVScalarArray & | const_reference |
![]() | |
enum | { isPVField =1 } |
Public Member Functions | |
POINTER_DEFINITIONS (PVValueArray) | |
virtual | ~PVValueArray () |
virtual ArrayConstPtr | getArray () const OVERRIDE FINAL |
virtual std::ostream & | dumpValue (std::ostream &o) const OVERRIDE FINAL |
virtual std::ostream & | dumpValue (std::ostream &o, size_t index) const OVERRIDE FINAL |
virtual size_t | getLength () const OVERRIDE FINAL |
virtual size_t | getCapacity () const OVERRIDE FINAL |
virtual void | setCapacity (size_t capacity) OVERRIDE FINAL |
virtual void | setLength (size_t length) OVERRIDE FINAL |
virtual const_svector | view () const OVERRIDE FINAL |
Fetch a read-only view of the current array data. More... | |
virtual void | swap (const_svector &other) OVERRIDE FINAL |
virtual void | replace (const const_svector &next) OVERRIDE FINAL |
virtual void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher) const OVERRIDE FINAL |
virtual void | deserialize (ByteBuffer *pbuffer, DeserializableControl *pflusher) OVERRIDE FINAL |
virtual void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher, size_t offset, size_t count) const OVERRIDE FINAL |
template<> | |
std::ostream & | dumpValue (std::ostream &o, size_t index) const |
template<> | |
std::ostream & | dumpValue (std::ostream &o) const |
template<> | |
void | deserialize (ByteBuffer *pbuffer, DeserializableControl *pcontrol) |
template<> | |
void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher, size_t offset, size_t count) const |
![]() | |
virtual | ~PVVectorStorage () |
svector | reuse () |
![]() | |
POINTER_DEFINITIONS (PVScalarArray) | |
virtual | ~PVScalarArray () |
const ScalarArrayConstPtr | getScalarArray () const |
template<typename T > | |
void | getAs (shared_vector< const T > &out) const |
template<typename T > | |
void | putFrom (const shared_vector< const T > &inp) |
void | assign (const PVScalarArray &pv) |
void | copy (const PVScalarArray &from) |
void | copyUnchecked (const PVScalarArray &from) |
![]() | |
POINTER_DEFINITIONS (PVArray) | |
virtual | ~PVArray () |
virtual void | setImmutable () OVERRIDE |
virtual void | setLength (std::size_t length)=0 |
bool | isCapacityMutable () const |
void | setCapacityMutable (bool isMutable) |
virtual void | setCapacity (std::size_t capacity)=0 |
virtual std::ostream & | dumpValue (std::ostream &o, std::size_t index) const =0 |
![]() | |
POINTER_DEFINITIONS (PVField) | |
virtual | ~PVField () |
const std::string & | getFieldName () const |
std::string | getFullName () const |
std::size_t | getFieldOffset () const |
std::size_t | getNextFieldOffset () const |
std::size_t | getNumberFields () const |
bool | isImmutable () const |
const FieldConstPtr & | getField () const |
PVStructure * | getParent () |
const PVStructure * | getParent () const |
void | postPut () |
void | setPostHandler (PostHandlerPtr const &postHandler) |
virtual bool | equals (PVField &pv) |
void | copy (const PVField &from) |
void | copyUnchecked (const PVField &from) |
![]() | |
virtual | ~Serializable () |
![]() | |
virtual | ~SerializableArray () |
virtual void | serialize (ByteBuffer *buffer, SerializableControl *flusher, std::size_t offset, std::size_t count) const =0 |
Static Public Attributes | |
static const ScalarType | typeCode = pvBoolean |
![]() | |
static size_t | num_instances |
Protected Member Functions | |
virtual void | _getAsVoid (epics::pvData::shared_vector< const void > &out) const OVERRIDE FINAL |
virtual void | _putFromVoid (const epics::pvData::shared_vector< const void > &in) OVERRIDE FINAL |
PVValueArray (ScalarArrayConstPtr const &scalar) | |
![]() | |
PVVectorStorage (A a) | |
![]() | |
PVScalarArray (ScalarArrayConstPtr const &scalarArray) | |
![]() | |
PVArray (FieldConstPtr const &field) | |
void | checkLength (size_t length) const |
![]() | |
PVField::shared_pointer | getPtrSelf () |
PVField (FieldConstPtr field) | |
void | setParentAndName (PVStructure *parent, std::string const &fieldName) |
Protected Attributes | |
const_svector | value |
Friends | |
class | PVDataCreate |
template class for all extensions of PVArray.
The direct extensions are pvBooleanArray, pvByteArray, ..., pvStringArray. There are specializations for PVStringArray, PVStructureArray, and PVUnionArray.
typedef const T* epics::pvData::PVValueArray< T >::const_pointer |
typedef ::epics::pvData::shared_vector<const T> epics::pvData::PVValueArray< T >::const_svector |
typedef T* epics::pvData::PVValueArray< T >::pointer |
typedef ::epics::pvData::shared_vector<T> epics::pvData::PVValueArray< T >::svector |
typedef T epics::pvData::PVValueArray< T >::value_type |
|
virtual |
|
explicitprotected |
Definition at line 191 of file PVDataCreateFactory.cpp.
|
protectedvirtual |
Implements epics::pvData::PVScalarArray.
Definition at line 454 of file PVDataCreateFactory.cpp.
|
protectedvirtual |
Implements epics::pvData::PVScalarArray.
Definition at line 460 of file PVDataCreateFactory.cpp.
|
virtual |
Deserialize buffer.
buffer | serialization buffer. |
flusher | deserialization control. |
Implements epics::pvData::Serializable.
Definition at line 410 of file PVDataCreateFactory.cpp.
|
virtual |
Deserialize buffer.
buffer | serialization buffer. |
flusher | deserialization control. |
Implements epics::pvData::Serializable.
Definition at line 317 of file PVDataCreateFactory.cpp.
std::ostream & epics::pvData::PVValueArray< std::string >::dumpValue | ( | std::ostream & | o, |
size_t | index | ||
) | const |
Definition at line 234 of file PVDataCreateFactory.cpp.
|
virtual |
Puts the PVField raw value to the stream.
o | output stream. |
Implements epics::pvData::PVField.
Definition at line 240 of file PVDataCreateFactory.cpp.
|
virtual |
Puts the PVField raw value to the stream.
o | output stream. |
Implements epics::pvData::PVField.
Definition at line 218 of file PVDataCreateFactory.cpp.
|
virtual |
Definition at line 256 of file PVDataCreateFactory.cpp.
|
virtual |
Get introspection interface.
Implements epics::pvData::PVArray.
Definition at line 212 of file PVDataCreateFactory.cpp.
|
inlinevirtual |
Get the array capacity.
Implements epics::pvData::PVArray.
Definition at line 1204 of file pvData.h.
|
inlinevirtual |
Get the array length.
Implements epics::pvData::PVArray.
Definition at line 1203 of file pvData.h.
epics::pvData::PVValueArray< T >::POINTER_DEFINITIONS | ( | PVValueArray< T > | ) |
|
virtual |
Discard current contents and replaced with the provided. Fails for Immutable arrays calls postPut()
Implements epics::pvData::detail::PVVectorStorage< T, PVScalarArray >.
Definition at line 290 of file PVDataCreateFactory.cpp.
void epics::pvData::PVValueArray< string >::serialize | ( | ByteBuffer * | pbuffer, |
SerializableControl * | pflusher, | ||
size_t | offset, | ||
size_t | count | ||
) | const |
Definition at line 437 of file PVDataCreateFactory.cpp.
|
virtual |
Serialize field into given buffer.
buffer | serialization buffer. |
flusher | flush interface. |
Implements epics::pvData::Serializable.
Definition at line 311 of file PVDataCreateFactory.cpp.
|
virtual |
Definition at line 366 of file PVDataCreateFactory.cpp.
|
virtual |
Definition at line 262 of file PVDataCreateFactory.cpp.
|
virtual |
Definition at line 273 of file PVDataCreateFactory.cpp.
|
virtual |
Exchange our contents for the provided.
std::logic_error | for Immutable arrays. |
Callers must ensure that postPut() is called after the last swap() operation.
Before you call this directly, consider using the reuse(), or replace() methods.
Implements epics::pvData::detail::PVVectorStorage< T, PVScalarArray >.
Definition at line 299 of file PVDataCreateFactory.cpp.
|
inlinevirtual |
Fetch a read-only view of the current array data.
Implements epics::pvData::detail::PVVectorStorage< T, PVScalarArray >.
Definition at line 1209 of file pvData.h.
|
friend |
|
static |
|
protected |