OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | List of all members
OpenDDS::DCPS::MemberHelper Class Referenceabstract

#include <ValueReader.h>

Inheritance diagram for OpenDDS::DCPS::MemberHelper:
Inheritance graph
[legend]

Public Member Functions

virtual ~MemberHelper ()
 
virtual bool get_value (XTypes::MemberId &value, const char *name) const =0
 

Detailed Description

A ValueReader produces events and values for the recitation of a value. To use it, one manually or automatically, e.g., code generation in the IDL compiler, defines a vread function for a given type V.

bool vread(ValueReader& vw, V& value)

The vread function should invoke the appropriate methods of the ValueReader and dispatch to other vread functions.

Definition at line 33 of file ValueReader.h.

Constructor & Destructor Documentation

◆ ~MemberHelper()

virtual OpenDDS::DCPS::MemberHelper::~MemberHelper ( )
inlinevirtual

Definition at line 35 of file ValueReader.h.

References get_value(), name, and value.

35 {}

Member Function Documentation

◆ get_value()

virtual bool OpenDDS::DCPS::MemberHelper::get_value ( XTypes::MemberId value,
const char *  name 
) const
pure virtual

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