PVData C++ 8.0.7
Loading...
Searching...
No Matches
epics::pvData::Scalar Class Reference

This class implements introspection object for Scalar. More...

#include <pv/pvIntrospect.h>

Inheritance diagram for epics::pvData::Scalar:
Collaboration diagram for epics::pvData::Scalar:

Public Types

typedef std::tr1::shared_ptr< Scalarshared_pointer
 
typedef std::tr1::shared_ptr< const Scalarconst_shared_pointer
 
typedef std::tr1::weak_ptr< Scalarweak_pointer
 
typedef std::tr1::weak_ptr< const Scalarconst_weak_pointer
 
typedef Scalarreference
 
typedef const Scalarconst_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

ScalarType getScalarType () const
 
virtual std::string getID () const
 
virtual std::ostream & dump (std::ostream &o) const
 
virtual void serialize (ByteBuffer *buffer, SerializableControl *control) const
 
virtual void deserialize (ByteBuffer *buffer, DeserializableControl *control)
 
std::tr1::shared_ptr< PVScalarbuild () 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 ()
 

Protected Member Functions

 Scalar (ScalarType scalarType)
 
- Protected Member Functions inherited from epics::pvData::Field
 Field (Type type)
 
void cacheCleanup ()
 

Friends

class FieldCreate
 
class ScalarArray
 
class BoundedScalarArray
 
class FixedScalarArray
 
class BoundedString
 

Additional Inherited Members

- Static Public Attributes inherited from epics::pvData::Field
static size_t num_instances
 

Detailed Description

This class implements introspection object for Scalar.

Definition at line 389 of file pvIntrospect.h.

Member Typedef Documentation

◆ const_reference

◆ const_shared_pointer

std::tr1::shared_ptr<const Scalar> epics::pvData::Scalar::const_shared_pointer

Definition at line 391 of file pvIntrospect.h.

◆ const_weak_pointer

std::tr1::weak_ptr<const Scalar> epics::pvData::Scalar::const_weak_pointer

Definition at line 391 of file pvIntrospect.h.

◆ reference

◆ shared_pointer

std::tr1::shared_ptr<Scalar> epics::pvData::Scalar::shared_pointer

Definition at line 391 of file pvIntrospect.h.

◆ weak_pointer

std::tr1::weak_ptr<Scalar> epics::pvData::Scalar::weak_pointer

Definition at line 391 of file pvIntrospect.h.

Member Function Documentation

◆ build()

std::tr1::shared_ptr< PVScalar > epics::pvData::Scalar::build ( ) const

Allocate a new instance

Version
Added after 7.0.0

◆ deserialize()

virtual void epics::pvData::Scalar::deserialize ( ByteBuffer * buffer,
DeserializableControl * flusher )
virtual

Deserialize buffer.

Parameters
bufferserialization buffer.
flusherdeserialization control.

Implements epics::pvData::Serializable.

◆ dump()

virtual std::ostream & epics::pvData::Scalar::dump ( std::ostream & o) const
virtual

Puts the string representation to the stream.

Parameters
ooutput stream.
Returns
The output stream.

Implements epics::pvData::Field.

◆ getID()

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

Get the identification string.

Returns
The identification string, can be empty.

Implements epics::pvData::Field.

Reimplemented in epics::pvData::BoundedString.

◆ getScalarType()

ScalarType epics::pvData::Scalar::getScalarType ( ) const
inline

Get the scalarType

Returns
the scalarType

Definition at line 399 of file pvIntrospect.h.

◆ serialize()

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

Serialize field into given buffer.

Parameters
bufferserialization buffer.
flusherflush interface.

Implements epics::pvData::Serializable.

Reimplemented in epics::pvData::BoundedString.

Friends And Related Symbol Documentation

◆ BoundedScalarArray

friend class BoundedScalarArray
friend

Definition at line 419 of file pvIntrospect.h.

◆ BoundedString

friend class BoundedString
friend

Definition at line 421 of file pvIntrospect.h.

◆ FieldCreate

friend class FieldCreate
friend

Definition at line 417 of file pvIntrospect.h.

◆ FixedScalarArray

friend class FixedScalarArray
friend

Definition at line 420 of file pvIntrospect.h.

◆ ScalarArray

friend class ScalarArray
friend

Definition at line 418 of file pvIntrospect.h.


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