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

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

#include <pv/pvIntrospect.h>

Inheritance diagram for epics::pvData::BoundedScalarArray:
Collaboration diagram for epics::pvData::BoundedScalarArray:

Public Types

typedef std::tr1::shared_ptr< BoundedScalarArray > shared_pointer
typedef std::tr1::shared_ptr< const BoundedScalarArray > const_shared_pointer
typedef std::tr1::weak_ptr< BoundedScalarArray > weak_pointer
typedef std::tr1::weak_ptr< const BoundedScalarArray > const_weak_pointer
typedef BoundedScalarArray & reference
typedef const BoundedScalarArray & 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

 BoundedScalarArray (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 535 of file pvIntrospect.h.

Member Typedef Documentation

◆ const_reference

typedef const BoundedScalarArray& epics::pvData::BoundedScalarArray::const_reference

Definition at line 539 of file pvIntrospect.h.

◆ const_shared_pointer

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

Definition at line 537 of file pvIntrospect.h.

◆ const_weak_pointer

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

Definition at line 537 of file pvIntrospect.h.

◆ reference

typedef BoundedScalarArray& epics::pvData::BoundedScalarArray::reference

Definition at line 538 of file pvIntrospect.h.

◆ shared_pointer

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

Definition at line 537 of file pvIntrospect.h.

◆ weak_pointer

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

Definition at line 537 of file pvIntrospect.h.

Constructor & Destructor Documentation

◆ BoundedScalarArray()

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

Constructor

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

Member Function Documentation

◆ getArraySizeType()

virtual ArraySizeType epics::pvData::BoundedScalarArray::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 548 of file pvIntrospect.h.

◆ getID()

virtual std::string epics::pvData::BoundedScalarArray::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::BoundedScalarArray::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 550 of file pvIntrospect.h.

◆ serialize()

virtual void epics::pvData::BoundedScalarArray::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 559 of file pvIntrospect.h.


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