Public Types | Public Member Functions

Condition< DELEGATE > Class Template Reference

#include <Condition.hpp>

Inheritance diagram for Condition< DELEGATE >:

List of all members.

Public Types

typedef DELEGATE DELEGATE_T
typedef
::dds::core::smart_ptr_traits
< DELEGATE >::ref_type 
DELEGATE_REF_T
typedef
::dds::core::smart_ptr_traits
< DELEGATE >::weak_ref_type 
DELEGATE_WEAK_REF_T
typedef dds::core::Reference
< DELEGATE > 
BASE_T

Public Member Functions

template<typename T__ >
Conditionoperator= (const T__ &rhs)
 Condition (DELEGATE_T *p)
 Condition (const DELEGATE_REF_T &ref)
template<typename H__ >
 Condition (const H__ &h)
 Condition ()
 ~Condition ()
void dispatch ()
bool trigger_value () const
void close ()

Detailed Description

template<typename DELEGATE>
class tdds::core::cond::Condition< DELEGATE >

A Condition is a root class for all the conditions that may be attached to a WaitSet. This basic class is specialized in three classes that are known by the middleware: GuardCondition (Section 7.1.2.1.8), StatusCondition (Section 7.1.2.1.9), and ReadCondition (Section 7.1.2.5.8).

Definition at line 36 of file Condition.hpp.


Member Typedef Documentation

typedef dds::core::Reference< DELEGATE > BASE_T
typedef ::dds::core::smart_ptr_traits< DELEGATE >::ref_type DELEGATE_REF_T
typedef DELEGATE DELEGATE_T
typedef ::dds::core::smart_ptr_traits< DELEGATE >::weak_ref_type DELEGATE_WEAK_REF_T

Constructor & Destructor Documentation

Condition ( DELEGATE_T p  )  [inline, explicit]

Definition at line 38 of file Condition.hpp.

Condition ( const DELEGATE_REF_T ref  )  [inline, explicit]

Definition at line 38 of file Condition.hpp.

Condition ( const H__ &  h  )  [inline]

Definition at line 38 of file Condition.hpp.

Condition (  )  [inline]

Definition at line 38 of file Condition.hpp.

~Condition (  )  [inline]

Definition at line 41 of file Condition.hpp.


Member Function Documentation

void close (  )  [inline]

Definition at line 58 of file Condition.hpp.

void dispatch (  )  [inline]

Dispatches the functors that have been registered with the condition.

Definition at line 47 of file Condition.hpp.

Condition& operator= ( const T__ &  rhs  )  [inline]
bool trigger_value (  )  const [inline]

This operation retrieves the trigger_value of the Condition.

Definition at line 54 of file Condition.hpp.


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