#include <ReadConditionImpl.h>
Inheritance diagram for OpenDDS::DCPS::ReadConditionImpl:
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 | |
DataReaderImpl * | parent_ |
DDS::SampleStateMask | sample_states_ |
DDS::ViewStateMask | view_states_ |
DDS::InstanceStateMask | instance_states_ |
Definition at line 23 of file ReadConditionImpl.h.
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.
00029 : parent_(dr) 00030 , sample_states_(sample_states) 00031 , view_states_(view_states) 00032 , instance_states_(instance_states) {}
virtual OpenDDS::DCPS::ReadConditionImpl::~ReadConditionImpl | ( | ) | [inline, virtual] |
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 }
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().
Definition at line 48 of file ReadConditionImpl.h.
Referenced by get_sample_state_mask(), get_trigger_value(), and OpenDDS::DCPS::QueryConditionImpl::get_trigger_value().
Definition at line 49 of file ReadConditionImpl.h.
Referenced by get_trigger_value(), OpenDDS::DCPS::QueryConditionImpl::get_trigger_value(), and get_view_state_mask().