PVData C++ 8.0.9
Loading...
Searching...
No Matches
epics::pvData::FixedScalarArray Class Reference

This class implements introspection object for bounded scalar array. More...

#include <pv/pvIntrospect.h>

Inheritance diagram for epics::pvData::FixedScalarArray:
Collaboration diagram for epics::pvData::FixedScalarArray:

Public Types

typedef std::tr1::shared_ptr< FixedScalarArray > shared_pointer
typedef std::tr1::shared_ptr< const FixedScalarArray > const_shared_pointer
typedef std::tr1::weak_ptr< FixedScalarArray > weak_pointer
typedef std::tr1::weak_ptr< const FixedScalarArray > const_weak_pointer
typedef FixedScalarArray & reference
typedef const FixedScalarArray & const_reference
Public Types inherited from epics::pvData::ScalarArray
typedef std::tr1::shared_ptr< ScalarArray > shared_pointer
typedef std::tr1::shared_ptr< const ScalarArray > const_shared_pointer
typedef std::tr1::weak_ptr< ScalarArray > weak_pointer
typedef std::tr1::weak_ptr< const ScalarArray > const_weak_pointer
typedef ScalarArray & reference
typedef const ScalarArray & const_reference
Public Types inherited from epics::pvData::Array
enum  ArraySizeType { variable , fixed , bounded }
typedef std::tr1::shared_ptr< Array > shared_pointer
typedef std::tr1::shared_ptr< const Array > const_shared_pointer
typedef std::tr1::weak_ptr< Array > weak_pointer
typedef std::tr1::weak_ptr< const Array > const_weak_pointer
typedef Array & reference
typedef const Array & const_reference
Public Types inherited from epics::pvData::Field
enum  { isField =1 }
typedef std::tr1::shared_ptr< Field > shared_pointer
typedef std::tr1::shared_ptr< const Field > const_shared_pointer
typedef std::tr1::weak_ptr< Field > weak_pointer
typedef std::tr1::weak_ptr< const Field > const_weak_pointer

Public Member Functions

 FixedScalarArray (ScalarType scalarType, std::size_t size)
virtual ArraySizeType getArraySizeType () const
virtual std::size_t getMaximumCapacity () const
virtual std::string getID () const
virtual void serialize (ByteBuffer *buffer, SerializableControl *control) const
Public Member Functions inherited from epics::pvData::ScalarArray
 ScalarArray (ScalarType scalarType)
ScalarType getElementType () const
virtual std::ostream & dump (std::ostream &o) const
virtual void deserialize (ByteBuffer *buffer, DeserializableControl *control)
std::tr1::shared_ptr< PVScalarArray > build () const
Public Member Functions inherited from epics::pvData::Field
Type getType () const
std::tr1::shared_ptr< PVField > build () const
Public Member Functions inherited from epics::pvData::Serializable
virtual ~Serializable ()

Friends

class FieldCreate

Additional Inherited Members

Static Public Attributes inherited from epics::pvData::Field
static size_t num_instances
Protected Member Functions inherited from epics::pvData::Array
 Array (Type type)
Protected Member Functions inherited from epics::pvData::Field
 Field (Type type)
void cacheCleanup ()

Detailed Description

This class implements introspection object for bounded scalar array.

Definition at line 567 of file pvIntrospect.h.

Member Typedef Documentation

◆ const_reference

typedef const FixedScalarArray& epics::pvData::FixedScalarArray::const_reference

Definition at line 571 of file pvIntrospect.h.

◆ const_shared_pointer

typedef std::tr1::shared_ptr<const FixedScalarArray> epics::pvData::FixedScalarArray::const_shared_pointer

Definition at line 569 of file pvIntrospect.h.

◆ const_weak_pointer

typedef std::tr1::weak_ptr<const FixedScalarArray> epics::pvData::FixedScalarArray::const_weak_pointer

Definition at line 569 of file pvIntrospect.h.

◆ reference

typedef FixedScalarArray& epics::pvData::FixedScalarArray::reference

Definition at line 570 of file pvIntrospect.h.

◆ shared_pointer

typedef std::tr1::shared_ptr<FixedScalarArray> epics::pvData::FixedScalarArray::shared_pointer

Definition at line 569 of file pvIntrospect.h.

◆ weak_pointer

typedef std::tr1::weak_ptr<FixedScalarArray> epics::pvData::FixedScalarArray::weak_pointer

Definition at line 569 of file pvIntrospect.h.

Constructor & Destructor Documentation

◆ FixedScalarArray()

epics::pvData::FixedScalarArray::FixedScalarArray ( ScalarType scalarType,
std::size_t size )

Constructor

Parameters
scalarTypeThe scalarType for the field.
sizemaximum (bound) capacity.

Member Function Documentation

◆ getArraySizeType()

virtual ArraySizeType epics::pvData::FixedScalarArray::getArraySizeType ( ) const
inlinevirtual

Get array size type (i.e. variable/fixed/bounded size array).

Returns
array size type enum.

Reimplemented from epics::pvData::ScalarArray.

Definition at line 580 of file pvIntrospect.h.

◆ getID()

virtual std::string epics::pvData::FixedScalarArray::getID ( ) const
virtual

Get the identification string.

Returns
The identification string, can be empty.

Reimplemented from epics::pvData::ScalarArray.

◆ getMaximumCapacity()

virtual std::size_t epics::pvData::FixedScalarArray::getMaximumCapacity ( ) const
inlinevirtual

Get maximum capacity of the array.

Returns
maximum capacity of the array, 0 indicates variable size array.

Reimplemented from epics::pvData::ScalarArray.

Definition at line 582 of file pvIntrospect.h.

◆ serialize()

virtual void epics::pvData::FixedScalarArray::serialize ( ByteBuffer * buffer,
SerializableControl * flusher ) const
virtual

Serialize field into given buffer.

Parameters
bufferserialization buffer.
flusherflush interface.

Reimplemented from epics::pvData::ScalarArray.

◆ FieldCreate

friend class FieldCreate
friend

Definition at line 591 of file pvIntrospect.h.


The documentation for this class was generated from the following file: