![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Data interface for a structure,. More...
#include "pvData.h"
Classes | |
struct | Formatter |
Public Types | |
typedef PVStructure & | reference |
typedef const PVStructure & | const_reference |
![]() | |
enum | { isPVField =1 } |
Public Member Functions | |
POINTER_DEFINITIONS (PVStructure) | |
virtual | ~PVStructure () |
virtual void | setImmutable () OVERRIDE FINAL |
const StructureConstPtr & | getStructure () const |
const PVFieldPtrArray & | getPVFields () const |
template<typename A > | |
FORCE_INLINE std::tr1::shared_ptr< PVField > | getSubField (A a) |
template<typename A > | |
FORCE_INLINE std::tr1::shared_ptr< const PVField > | getSubField (A a) const |
template<typename PVD , typename A > | |
std::tr1::shared_ptr< PVD > | getSubField (A a) |
template<typename PVD , typename A > | |
std::tr1::shared_ptr< const PVD > | getSubField (A a) const |
template<typename A > | |
FORCE_INLINE std::tr1::shared_ptr< PVField > | getSubFieldT (A a) |
template<typename A > | |
FORCE_INLINE std::tr1::shared_ptr< const PVField > | getSubFieldT (A a) const |
template<typename PVD , typename A > | |
std::tr1::shared_ptr< PVD > | getSubFieldT (A a) |
template<typename PVD , typename A > | |
std::tr1::shared_ptr< const PVD > | getSubFieldT (A a) const |
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, BitSet *pbitSet) const OVERRIDE FINAL |
virtual void | deserialize (ByteBuffer *pbuffer, DeserializableControl *pflusher, BitSet *pbitSet) OVERRIDE FINAL |
PVStructure (StructureConstPtr const &structure) | |
PVStructure (StructureConstPtr const &structure, PVFieldPtrArray const &pvFields) | |
virtual std::ostream & | dumpValue (std::ostream &o) const OVERRIDE FINAL |
void | copy (const PVStructure &from) |
void | copyUnchecked (const PVStructure &from) |
void | copyUnchecked (const PVStructure &from, const BitSet &maskBitSet, bool inverse=false) |
FORCE_INLINE Formatter | stream () const |
![]() | |
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 | ~BitSetSerializable () |
Friends | |
class | PVDataCreate |
Additional Inherited Members | |
![]() | |
static size_t | num_instances |
![]() | |
PVField::shared_pointer | getPtrSelf () |
PVField (FieldConstPtr field) | |
void | setParentAndName (PVStructure *parent, std::string const &fieldName) |
typedef const PVStructure& epics::pvData::PVStructure::const_reference |
|
virtual |
|
explicit |
Constructor
structure | The introspection interface. |
Definition at line 27 of file PVStructure.cpp.
epics::pvData::PVStructure::PVStructure | ( | StructureConstPtr const & | structure, |
PVFieldPtrArray const & | pvFields | ||
) |
Constructor
structure | The introspection interface. |
pvFields | The array of fields for the structure. |
Definition at line 45 of file PVStructure.cpp.
void epics::pvData::PVStructure::copy | ( | const PVStructure & | from | ) |
Definition at line 329 of file PVStructure.cpp.
void epics::pvData::PVStructure::copyUnchecked | ( | const PVStructure & | from | ) |
Definition at line 340 of file PVStructure.cpp.
void epics::pvData::PVStructure::copyUnchecked | ( | const PVStructure & | from, |
const BitSet & | maskBitSet, | ||
bool | inverse = false |
||
) |
Definition at line 354 of file PVStructure.cpp.
|
virtual |
Deserialize
pbuffer | The byte buffer. |
pflusher | Interface to call when buffer is empty. |
Implements epics::pvData::Serializable.
Definition at line 225 of file PVStructure.cpp.
|
virtual |
Deserialize
pbuffer | The byte buffer. |
pflusher | Interface to call when buffer is empty. |
pbitSet | A bitset the specifies which fields to deserialize. |
Implements epics::pvData::BitSetSerializable.
Definition at line 269 of file PVStructure.cpp.
|
virtual |
Puts the PVField raw value to the stream.
o | output stream. |
Implements epics::pvData::PVField.
Definition at line 305 of file PVStructure.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get a subfield with the specified name.
a | A sub-field name or index |
A field name is a '.' delimited list of child field names (no whitespace allowed)
Definition at line 766 of file pvData.h.
|
inline |
Definition at line 773 of file pvData.h.
|
inline |
|
inline |
|
inline |
Definition at line 806 of file pvData.h.
|
inline |
Definition at line 816 of file pvData.h.
epics::pvData::PVStructure::POINTER_DEFINITIONS | ( | PVStructure | ) |
|
virtual |
Serialize.
pbuffer | The byte buffer. |
pflusher | Interface to call when buffer is full. |
Implements epics::pvData::Serializable.
Definition at line 218 of file PVStructure.cpp.
|
virtual |
Serialize.
pbuffer | The byte buffer. |
pflusher | Interface to call when buffer is full. |
pbitSet | A bitset the specifies which fields to serialize. |
Implements epics::pvData::BitSetSerializable.
Definition at line 233 of file PVStructure.cpp.
|
virtual |
Set the field to be immutable, i.e. it can no longer be modified. This is permanent, i.e. once done the field cannot be made mutable.
Reimplemented from epics::pvData::PVField.
Definition at line 65 of file PVStructure.cpp.
|
inline |
|
friend |