DDS::GuardCondition Class Reference

#include <GuardCondition.h>

Inheritance diagram for DDS::GuardCondition:

Inheritance graph
[legend]
Collaboration diagram for DDS::GuardCondition:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GuardCondition ()
virtual ~GuardCondition ()
CORBA::Boolean get_trigger_value ()
ReturnCode_t set_trigger_value (CORBA::Boolean value)

Static Public Member Functions

static GuardCondition_ptr _duplicate (GuardCondition_ptr obj)

Private Attributes

CORBA::Boolean trigger_value_

Detailed Description

Definition at line 25 of file GuardCondition.h.


Constructor & Destructor Documentation

DDS::GuardCondition::GuardCondition (  )  [inline]

Definition at line 29 of file GuardCondition.h.

00030     : trigger_value_(false)
00031   {}

virtual DDS::GuardCondition::~GuardCondition (  )  [inline, virtual]

Definition at line 33 of file GuardCondition.h.

00033 {}


Member Function Documentation

GuardCondition_ptr DDS::GuardCondition::_duplicate ( GuardCondition_ptr  obj  )  [static]

Definition at line 25 of file GuardCondition.cpp.

Referenced by TAO::Objref_Traits< DDS::GuardCondition >::duplicate().

00026 {
00027   if (!CORBA::is_nil(obj)) obj->_add_ref();
00028 
00029   return obj;
00030 }

CORBA::Boolean DDS::GuardCondition::get_trigger_value (  ) 

Implements DDS::Condition.

Definition at line 13 of file GuardCondition.cpp.

References trigger_value_.

00014 {
00015   return trigger_value_;
00016 }

ReturnCode_t DDS::GuardCondition::set_trigger_value ( CORBA::Boolean  value  ) 

Definition at line 18 of file GuardCondition.cpp.

References DDS::RETCODE_OK, OpenDDS::DCPS::ConditionImpl::signal_all(), and trigger_value_.

00019 {
00020   trigger_value_ = value;
00021   signal_all();
00022   return RETCODE_OK;
00023 }


Member Data Documentation

CORBA::Boolean DDS::GuardCondition::trigger_value_ [private]

Definition at line 42 of file GuardCondition.h.

Referenced by get_trigger_value(), and set_trigger_value().


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