OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Public Attributes | List of all members
OpenDDS::DCPS::InternalDataReader< T >::Instance Struct Reference

Public Member Functions

 OPENDDS_LIST (T) samples
 
 OPENDDS_LIST (InternalSampleInfo) infos
 
bool unregister_instance (const T &sample, InternalEntity_wrch publication_handle)
 

Public Attributes

PublicationSet publication_set
 
DDS::ViewStateKind view_state
 
DDS::InstanceStateKind instance_state
 

Detailed Description

template<typename T>
struct OpenDDS::DCPS::InternalDataReader< T >::Instance

Definition at line 219 of file InternalDataReader.h.

Member Function Documentation

◆ OPENDDS_LIST() [1/2]

template<typename T>
OpenDDS::DCPS::InternalDataReader< T >::Instance::OPENDDS_LIST ( )

◆ OPENDDS_LIST() [2/2]

template<typename T>
OpenDDS::DCPS::InternalDataReader< T >::Instance::OPENDDS_LIST ( InternalSampleInfo  )

◆ unregister_instance()

template<typename T>
bool OpenDDS::DCPS::InternalDataReader< T >::Instance::unregister_instance ( const T &  sample,
InternalEntity_wrch  publication_handle 
)
inline

Definition at line 228 of file InternalDataReader.h.

References OpenDDS::DCPS::ISIK_UNREGISTER, DDS::NOT_ALIVE_DISPOSED_INSTANCE_STATE, DDS::NOT_ALIVE_NO_WRITERS_INSTANCE_STATE, and OPENDDS_MAP_T.

229  {
230  if (publication_set.erase(publication_handle)) {
231  samples.push_back(sample);
232  infos.push_back(InternalSampleInfo(ISIK_UNREGISTER, publication_handle));
233 
236  }
237 
238  return true;
239  }
240 
241  return false;
242  }
const InstanceStateKind NOT_ALIVE_DISPOSED_INSTANCE_STATE
const InstanceStateKind NOT_ALIVE_NO_WRITERS_INSTANCE_STATE

Member Data Documentation

◆ instance_state

template<typename T>
DDS::InstanceStateKind OpenDDS::DCPS::InternalDataReader< T >::Instance::instance_state

Definition at line 226 of file InternalDataReader.h.

◆ publication_set

template<typename T>
PublicationSet OpenDDS::DCPS::InternalDataReader< T >::Instance::publication_set

Definition at line 223 of file InternalDataReader.h.

◆ view_state

template<typename T>
DDS::ViewStateKind OpenDDS::DCPS::InternalDataReader< T >::Instance::view_state

Definition at line 225 of file InternalDataReader.h.


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