OpenDDS::DCPS::ReadConditionImpl Class Reference

#include <ReadConditionImpl.h>

Inheritance diagram for OpenDDS::DCPS::ReadConditionImpl:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::ReadConditionImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ReadConditionImpl (DataReaderImpl *dr, DDS::SampleStateMask sample_states, DDS::ViewStateMask view_states, DDS::InstanceStateMask instance_states)
virtual ~ReadConditionImpl ()
CORBA::Boolean get_trigger_value ()
DDS::SampleStateMask get_sample_state_mask ()
DDS::ViewStateMask get_view_state_mask ()
DDS::InstanceStateMask get_instance_state_mask ()
DDS::DataReader_ptr get_datareader ()

Protected Attributes

DataReaderImplparent_
DDS::SampleStateMask sample_states_
DDS::ViewStateMask view_states_
DDS::InstanceStateMask instance_states_

Detailed Description

Definition at line 23 of file ReadConditionImpl.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::ReadConditionImpl::ReadConditionImpl ( DataReaderImpl dr,
DDS::SampleStateMask  sample_states,
DDS::ViewStateMask  view_states,
DDS::InstanceStateMask  instance_states 
) [inline]

Definition at line 27 of file ReadConditionImpl.h.

virtual OpenDDS::DCPS::ReadConditionImpl::~ReadConditionImpl (  )  [inline, virtual]

Definition at line 34 of file ReadConditionImpl.h.

00034 {}


Member Function Documentation

DDS::DataReader_ptr OpenDDS::DCPS::ReadConditionImpl::get_datareader (  ) 

Implements DDS::ReadCondition.

Definition at line 36 of file ReadConditionImpl.cpp.

References parent_.

00037 {
00038   return DDS::DataReader::_duplicate(parent_);
00039 }

DDS::InstanceStateMask OpenDDS::DCPS::ReadConditionImpl::get_instance_state_mask (  ) 

Implements DDS::ReadCondition.

Definition at line 31 of file ReadConditionImpl.cpp.

References instance_states_.

00032 {
00033   return instance_states_;
00034 }

DDS::SampleStateMask OpenDDS::DCPS::ReadConditionImpl::get_sample_state_mask (  ) 

Implements DDS::ReadCondition.

Definition at line 21 of file ReadConditionImpl.cpp.

References sample_states_.

00022 {
00023   return sample_states_;
00024 }

CORBA::Boolean OpenDDS::DCPS::ReadConditionImpl::get_trigger_value (  ) 

Implements DDS::Condition.

Reimplemented in OpenDDS::DCPS::QueryConditionImpl.

Definition at line 15 of file ReadConditionImpl.cpp.

References OpenDDS::DCPS::DataReaderImpl::contains_sample(), instance_states_, parent_, sample_states_, and view_states_.

Referenced by OpenDDS::DCPS::QueryConditionImpl::get_trigger_value().

00016 {
00017   return parent_->contains_sample(sample_states_,
00018                                   view_states_, instance_states_);
00019 }

DDS::ViewStateMask OpenDDS::DCPS::ReadConditionImpl::get_view_state_mask (  ) 

Implements DDS::ReadCondition.

Definition at line 26 of file ReadConditionImpl.cpp.

References view_states_.

00027 {
00028   return view_states_;
00029 }


Member Data Documentation

DDS::InstanceStateMask OpenDDS::DCPS::ReadConditionImpl::instance_states_ [protected]

Definition at line 50 of file ReadConditionImpl.h.

Referenced by get_instance_state_mask(), get_trigger_value(), and OpenDDS::DCPS::QueryConditionImpl::get_trigger_value().

DataReaderImpl* OpenDDS::DCPS::ReadConditionImpl::parent_ [protected]

Definition at line 47 of file ReadConditionImpl.h.

Referenced by get_datareader(), get_trigger_value(), and OpenDDS::DCPS::QueryConditionImpl::get_trigger_value().

DDS::SampleStateMask OpenDDS::DCPS::ReadConditionImpl::sample_states_ [protected]

Definition at line 48 of file ReadConditionImpl.h.

Referenced by get_sample_state_mask(), get_trigger_value(), and OpenDDS::DCPS::QueryConditionImpl::get_trigger_value().

DDS::ViewStateMask OpenDDS::DCPS::ReadConditionImpl::view_states_ [protected]

Definition at line 49 of file ReadConditionImpl.h.

Referenced by get_trigger_value(), OpenDDS::DCPS::QueryConditionImpl::get_trigger_value(), and get_view_state_mask().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:06:22 2016 for OpenDDS by  doxygen 1.4.7