DDS4CCM
1.2.2
|
Representative (proxy) class for the RTI waitset. More...
#include <WaitSet.h>
Public Member Functions | |
DDS_WaitSet_i () | |
Constructor. More... | |
virtual | ~DDS_WaitSet_i (void) |
Destructor. More... | |
virtual ::DDS::ReturnCode_t | wait (::DDS::ConditionSeq &active_conditions, const ::DDS::Duration_t &timeout) |
virtual ::DDS::ReturnCode_t | attach_condition (::DDS::Condition_ptr cond) |
virtual ::DDS::ReturnCode_t | detach_condition (::DDS::Condition_ptr cond) |
virtual ::DDS::ReturnCode_t | get_conditions (::DDS::ConditionSeq &attached_conditions) |
DDSWaitSet * | get_rti_entity (void) |
::DDS::InstanceHandle_t | check_handle (const ::DDS::InstanceHandle_t &instance_handle, const ::DDS::InstanceHandle_t &lookup_handle, bool &error, bool &non_existent) |
void | init (void) |
Public Member Functions inherited from DDS::WaitSet | |
ReturnCode_t | wait (inout ConditionSeq active_conditions, in Duration_t timeout) |
ReturnCode_t | attach_condition (in Condition cond) |
ReturnCode_t | detach_condition (in Condition cond) |
ReturnCode_t | get_conditions (inout ConditionSeq attached_conditions) |
Private Member Functions | |
DDSWaitSet * | rti_entity () |
void | convert_conditions (const DDSConditionSeq &dds_conditions,::DDS::ConditionSeq &conditions) |
Private Attributes | |
DDSWaitSet * | rti_entity_ |
Additional Inherited Members | |
Public Types inherited from CORBA::LocalObject | |
typedef Object_ptr | _ptr_type |
typedef Object_var | _var_type |
typedef Object_out | _out_type |
Static Public Member Functions inherited from CORBA::LocalObject | |
static CORBA::Boolean | marshal (const Object_ptr x, TAO_OutputCDR &cdr) |
static void | _tao_any_destructor (void *) |
static CORBA::Boolean | is_nil_i (CORBA::Object_ptr obj) |
static void | tao_object_initialize (Object *) |
static CORBA::Object_ptr | _duplicate (CORBA::Object_ptr obj) |
static CORBA::Object_ptr | _nil (void) |
static CORBA::Object_ptr | _narrow (CORBA::Object_ptr obj) |
Protected Member Functions inherited from CORBA::LocalObject | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
Representative (proxy) class for the RTI waitset.
Implementation of the RTI waitset functionality.
CIAO::NDDS::DDS_WaitSet_i::DDS_WaitSet_i | ( | ) |
Constructor.
|
virtual |
Destructor.
DDS::ReturnCode_t CIAO::NDDS::DDS_WaitSet_i::attach_condition | ( | ::DDS::Condition_ptr | cond | ) |
Attaches a condition to the waitset. 'wait' will be waiting for this condition.
DDS::InstanceHandle_t CIAO::NDDS::DDS_WaitSet_i::check_handle | ( | const ::DDS::InstanceHandle_t & | instance_handle, |
const ::DDS::InstanceHandle_t & | lookup_handle, | ||
bool & | error, | ||
bool & | non_existent | ||
) |
Used in the Reader in order to check whether whether the user has supplied the correct handle with the type specific instance. See Reader_T::read_one_last and the DDS4CCM spec for more info.
Checks whether two DDS-handles are equal. If no error occurs and the lookup_handle exists, this method will return the lookup_handle.
'error' will be true if instance_handle != DDS_HANDLE_NIL and when instance_handle != lookup_handle.
non_existent will be true is lookup_hnd is DDS_HANDLE_NIL
|
private |
Converts the RTI condition(s) to the DDS4CCM condition(s)
DDS::ReturnCode_t CIAO::NDDS::DDS_WaitSet_i::detach_condition | ( | ::DDS::Condition_ptr | cond | ) |
Detaches a condition from the waitset. 'wait' won't be waiting for this condition anymore.
DDS::ReturnCode_t CIAO::NDDS::DDS_WaitSet_i::get_conditions | ( | ::DDS::ConditionSeq & | attached_conditions | ) |
Retrieves a list of attached conditions.
DDSWaitSet * CIAO::NDDS::DDS_WaitSet_i::get_rti_entity | ( | void | ) |
Returns the RTI waitset
void CIAO::NDDS::DDS_WaitSet_i::init | ( | void | ) |
Creates the RTI waitset.
|
private |
DDS::ReturnCode_t CIAO::NDDS::DDS_WaitSet_i::wait | ( | ::DDS::ConditionSeq & | active_conditions, |
const ::DDS::Duration_t & | timeout | ||
) |
|
private |