PVData C++  8.0.5
Public Types | Public Member Functions | Friends | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for epics::pvData::FixedScalarArray:
Collaboration graph
[legend]

Public Types

typedef std::tr1::shared_ptr< FixedScalarArrayshared_pointer
 
typedef std::tr1::shared_ptr< const FixedScalarArrayconst_shared_pointer
 
typedef std::tr1::weak_ptr< FixedScalarArrayweak_pointer
 
typedef std::tr1::weak_ptr< const FixedScalarArrayconst_weak_pointer
 
typedef FixedScalarArrayreference
 
typedef const FixedScalarArrayconst_reference
 
- Public Types inherited from epics::pvData::ScalarArray
typedef std::tr1::shared_ptr< ScalarArrayshared_pointer
 
typedef std::tr1::shared_ptr< const ScalarArrayconst_shared_pointer
 
typedef std::tr1::weak_ptr< ScalarArrayweak_pointer
 
typedef std::tr1::weak_ptr< const ScalarArrayconst_weak_pointer
 
typedef ScalarArrayreference
 
typedef const ScalarArrayconst_reference
 
- Public Types inherited from epics::pvData::Array
enum  ArraySizeType { variable, fixed, bounded }
 
typedef std::tr1::shared_ptr< Arrayshared_pointer
 
typedef std::tr1::shared_ptr< const Arrayconst_shared_pointer
 
typedef std::tr1::weak_ptr< Arrayweak_pointer
 
typedef std::tr1::weak_ptr< const Arrayconst_weak_pointer
 
typedef Arrayreference
 
typedef const Arrayconst_reference
 
- Public Types inherited from epics::pvData::Field
enum  { isField =1 }
 
typedef std::tr1::shared_ptr< Fieldshared_pointer
 
typedef std::tr1::shared_ptr< const Fieldconst_shared_pointer
 
typedef std::tr1::weak_ptr< Fieldweak_pointer
 
typedef std::tr1::weak_ptr< const Fieldconst_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< PVScalarArraybuild () const
 
- Public Member Functions inherited from epics::pvData::Field
Type getType () const
 
std::tr1::shared_ptr< PVFieldbuild () 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.

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.


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