RTI Connext .Net APIs  Version 5.2.0
 All Classes Namespaces Functions Variables Enumerations Properties Groups Pages
DDS::GuardCondition Class Reference

<<interface>> A specific DDS::Condition whose trigger_value is completely under the control of the application. More...

#include <managed_infrastructure.h>

Inheritance diagram for DDS::GuardCondition:
DDS::Condition

Public Member Functions

virtual System::Boolean get_trigger_value () override
 Retrieve the trigger_value.
 
virtual void set_trigger_value (System::Boolean value)
 Set the guard condition trigger value.
 
 GuardCondition ()
 No argument constructor.
 
 ~GuardCondition ()
 Destructor.
 

Detailed Description

<<interface>> A specific DDS::Condition whose trigger_value is completely under the control of the application.

The DDS::GuardCondition provides a way for an application to manually wake up a DDS::WaitSet. This is accomplished by attaching the DDS::GuardCondition to the DDS::WaitSet and then setting the trigger_value by means of the DDS::GuardCondition::set_trigger_value operation.

See Also
DDS::WaitSet

Constructor & Destructor Documentation

DDS::GuardCondition::GuardCondition ( )

No argument constructor.

The default constructor initializes the guard condition with trigger value false

DDS::GuardCondition::~GuardCondition ( )

Destructor.

Releases the resources associated with this object.

Calling this method multiple times on the same object is safe; subsequent deletions will have no effect.

Member Function Documentation

virtual System::Boolean DDS::GuardCondition::get_trigger_value ( )
overridevirtual

Retrieve the trigger_value.

Returns
the trigger value.

Implements DDS::Condition.

virtual void DDS::GuardCondition::set_trigger_value ( System::Boolean  value)
virtual

Set the guard condition trigger value.

Parameters
value<<in>> the new trigger value.

RTI Connext .Net APIs Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc