PVData C++ 8.0.7
Loading...
Searching...
No Matches
epics::pvData::Field Class Referenceabstract

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

#include <pv/pvIntrospect.h>

Inheritance diagram for epics::pvData::Field:
Collaboration diagram for epics::pvData::Field:

Public Types

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

Type getType () const
 
virtual std::string getID () const =0
 
virtual std::ostream & dump (std::ostream &o) const =0
 
std::tr1::shared_ptr< PVFieldbuild () const
 
- Public Member Functions inherited from epics::pvData::Serializable
virtual ~Serializable ()
 
virtual void serialize (ByteBuffer *buffer, SerializableControl *flusher) const =0
 
virtual void deserialize (ByteBuffer *buffer, DeserializableControl *flusher)=0
 

Static Public Attributes

static size_t num_instances
 

Protected Member Functions

 Field (Type type)
 
void cacheCleanup ()
 

Friends

struct Helper
 
class StructureArray
 
class Structure
 
class PVFieldPvt
 
class StandardField
 
class BasePVStructureArray
 
class FieldCreate
 

Detailed Description

This class implements introspection object for field.

Definition at line 328 of file pvIntrospect.h.

Member Typedef Documentation

◆ const_shared_pointer

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

Definition at line 334 of file pvIntrospect.h.

◆ const_weak_pointer

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

Definition at line 334 of file pvIntrospect.h.

◆ shared_pointer

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

Definition at line 334 of file pvIntrospect.h.

◆ weak_pointer

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

Definition at line 334 of file pvIntrospect.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 358 of file pvIntrospect.h.

Constructor & Destructor Documentation

◆ Field()

epics::pvData::Field::Field ( Type type)
protected

Constructor

Parameters
typeThe field type.

Member Function Documentation

◆ build()

std::tr1::shared_ptr< PVField > epics::pvData::Field::build ( ) const

Allocate a new instance

Version
Added after 7.0.0

◆ dump()

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

Puts the string representation to the stream.

Parameters
ooutput stream.
Returns
The output stream.

Implemented in epics::pvData::Scalar, epics::pvData::ScalarArray, epics::pvData::Structure, epics::pvData::StructureArray, epics::pvData::Union, and epics::pvData::UnionArray.

◆ getID()

virtual std::string epics::pvData::Field::getID ( ) const
pure virtual

◆ getType()

Type epics::pvData::Field::getType ( ) const
inline

Get the field type.

Returns
The type.

Definition at line 340 of file pvIntrospect.h.

Friends And Related Symbol Documentation

◆ BasePVStructureArray

friend class BasePVStructureArray
friend

Definition at line 377 of file pvIntrospect.h.

◆ FieldCreate

friend class FieldCreate
friend

Definition at line 378 of file pvIntrospect.h.

◆ Helper

friend struct Helper
friend

Definition at line 371 of file pvIntrospect.h.

◆ PVFieldPvt

friend class PVFieldPvt
friend

Definition at line 375 of file pvIntrospect.h.

◆ StandardField

friend class StandardField
friend

Definition at line 376 of file pvIntrospect.h.

◆ Structure

friend class Structure
friend

Definition at line 374 of file pvIntrospect.h.

◆ StructureArray

friend class StructureArray
friend

Definition at line 373 of file pvIntrospect.h.

Member Data Documentation

◆ num_instances

size_t epics::pvData::Field::num_instances
static

Definition at line 332 of file pvIntrospect.h.


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