![]() |
This is Unofficial EPICS BASE Doxygen Site
|
This class implements introspection object for scalar array. More...
#include "pvIntrospect.h"
Public Types | |
typedef ScalarArray & | reference |
typedef const ScalarArray & | const_reference |
![]() | |
enum | ArraySizeType { variable, fixed, bounded } |
typedef Array & | reference |
typedef const Array & | const_reference |
![]() | |
enum | { isField =1 } |
Public Member Functions | |
POINTER_DEFINITIONS (ScalarArray) | |
ScalarArray (ScalarType scalarType) | |
ScalarType | getElementType () const |
virtual ArraySizeType | getArraySizeType () const OVERRIDE |
virtual std::size_t | getMaximumCapacity () const OVERRIDE |
virtual std::string | getID () const OVERRIDE |
virtual std::ostream & | dump (std::ostream &o) const OVERRIDE FINAL |
virtual void | serialize (ByteBuffer *buffer, SerializableControl *control) const OVERRIDE |
virtual void | deserialize (ByteBuffer *buffer, DeserializableControl *control) OVERRIDE FINAL |
std::tr1::shared_ptr< PVScalarArray > | build () const |
virtual | ~ScalarArray () |
![]() | |
POINTER_DEFINITIONS (Array) | |
virtual | ~Array () |
![]() | |
POINTER_DEFINITIONS (Field) | |
virtual | ~Field () |
Type | getType () const |
std::tr1::shared_ptr< PVField > | build () const |
![]() | |
virtual | ~Serializable () |
Friends | |
class | FieldCreate |
Additional Inherited Members | |
![]() | |
static size_t | num_instances |
![]() | |
Array (Type type) | |
![]() | |
Field (Type type) | |
void | cacheCleanup () |
This class implements introspection object for scalar array.
Definition at line 497 of file pvIntrospect.h.
typedef const ScalarArray& epics::pvData::ScalarArray::const_reference |
Definition at line 501 of file pvIntrospect.h.
Definition at line 500 of file pvIntrospect.h.
epics::pvData::ScalarArray::ScalarArray | ( | ScalarType | scalarType | ) |
Constructor
scalarType | The scalarType for the field. |
Definition at line 310 of file FieldCreateFactory.cpp.
|
virtual |
Definition at line 318 of file FieldCreateFactory.cpp.
std::tr1::shared_ptr< PVScalarArray > epics::pvData::ScalarArray::build | ( | ) | const |
Allocate a new instance
Definition at line 361 of file FieldCreateFactory.cpp.
|
virtual |
Deserialize buffer.
buffer | serialization buffer. |
flusher | deserialization control. |
Implements epics::pvData::Serializable.
Definition at line 357 of file FieldCreateFactory.cpp.
|
virtual |
Puts the string representation to the stream.
o | output stream. |
Implements epics::pvData::Field.
Definition at line 347 of file FieldCreateFactory.cpp.
|
inlinevirtual |
Get array size type (i.e. variable/fixed/bounded size array).
Implements epics::pvData::Array.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
Definition at line 514 of file pvIntrospect.h.
|
inline |
Get the scalarType for the elements.
Definition at line 512 of file pvIntrospect.h.
|
virtual |
Get the identification string.
Implements epics::pvData::Field.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
Definition at line 342 of file FieldCreateFactory.cpp.
|
inlinevirtual |
Get maximum capacity of the array.
Implements epics::pvData::Array.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
Definition at line 516 of file pvIntrospect.h.
epics::pvData::ScalarArray::POINTER_DEFINITIONS | ( | ScalarArray | ) |
|
virtual |
Serialize field into given buffer.
buffer | serialization buffer. |
flusher | flush interface. |
Implements epics::pvData::Serializable.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
Definition at line 352 of file FieldCreateFactory.cpp.
|
friend |
Definition at line 533 of file pvIntrospect.h.