pvAccessCPP
7.1.7
|
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. | |
PVData Structure registry.
Registry is used to cache introspection interfaces to minimize network traffic.
Definition at line 45 of file introspectionRegistry.h.
epics::pvData::FieldConstPtr epics::pvAccess::IntrospectionRegistry::deserialize | ( | epics::pvData::ByteBuffer * | buffer, |
epics::pvData::DeserializableControl * | control | ||
) |
Deserializes introspection interface.
TODO
buffer | |
control |
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.
field | |
buffer | |
control |