PVData C++  8.0.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Friends | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for epics::pvData::BoundedScalarArray:
Collaboration graph
[legend]

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 BoundedScalarArrayreference
 
typedef const BoundedScalarArrayconst_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 ScalarArrayreference
 
typedef const ScalarArrayconst_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< Arrayweak_pointer
 
typedef std::tr1::weak_ptr
< const Array
const_weak_pointer
 
typedef Arrayreference
 
typedef const Arrayconst_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< Fieldweak_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::ostreamdump (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< 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 535 of file pvIntrospect.h.

Constructor & Destructor Documentation

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

Constructor

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

Member Function Documentation

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.

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.

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.

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.


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