pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Attributes | List of all members
epics::pvAccess::IntrospectionRegistry Class Reference

PVData Structure registry. More...

#include <utils/pv/introspectionRegistry.h>

Public Member Functions

void reset ()
 Resets registry, i.e. More...
 
void serialize (epics::pvData::FieldConstPtr const &field, epics::pvData::ByteBuffer *buffer, epics::pvData::SerializableControl *control)
 Serializes introspection interface. More...
 
epics::pvData::FieldConstPtr deserialize (epics::pvData::ByteBuffer *buffer, epics::pvData::DeserializableControl *control)
 Deserializes introspection interface. More...
 

Static Public Attributes

static const epics::pvData::int8 NULL_TYPE_CODE
 Null type.
 
static const epics::pvData::int8 ONLY_ID_TYPE_CODE
 Serialization contains only an ID (that was assigned by one of the previous FULL_WITH_ID descriptions).
 
static const epics::pvData::int8 FULL_WITH_ID_TYPE_CODE
 Serialization contains an ID (that can be used later, if cached) and full interface description.
 

Detailed Description

PVData Structure registry.

Registry is used to cache introspection interfaces to minimize network traffic.

Author
gjansa

Definition at line 45 of file introspectionRegistry.h.

Member Function Documentation

epics::pvData::FieldConstPtr epics::pvAccess::IntrospectionRegistry::deserialize ( epics::pvData::ByteBuffer *  buffer,
epics::pvData::DeserializableControl *  control 
)

Deserializes introspection interface.

TODO

Parameters
buffer
control
Returns
Field deserialized from the buffer.
void epics::pvAccess::IntrospectionRegistry::reset ( )

Resets registry, i.e.

must be done when transport is changed (server restarted).

void epics::pvAccess::IntrospectionRegistry::serialize ( epics::pvData::FieldConstPtr const &  field,
epics::pvData::ByteBuffer *  buffer,
epics::pvData::SerializableControl *  control 
)

Serializes introspection interface.

Parameters
field
buffer
control

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