![]() |
OpenSplice C# API
v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
|
An IGuardCondition object is a specific ICondition whose TriggerValue is completely under the control of the application. The IGuardCondition has no factory and must be created by the application. The IGuardCondition is directly created as an object by using the GuardCondition constructor. When a IGuardCondition is initially created, the TriggerValue is false. The purpose of the IGuardCondition is to provide the means for an application to manually wake up an IWaitSet. This is accomplished by attaching the IGuardCondition to the IWaitset and setting the TriggerValue by means of the IGuardCondition.SetTriggerValue operation. More...
Public Member Functions | |
ReturnCode | SetTriggerValue (bool value) |
This operation sets the TriggerValue of the IGuardCondition. More... | |
![]() | |
bool | GetTriggerValue () |
Each ICondition has a TriggerValue that can be true or false and is set by the DDS depending on the evaluation of the ICondition. More... | |
An IGuardCondition object is a specific ICondition whose TriggerValue is completely under the control of the application. The IGuardCondition has no factory and must be created by the application. The IGuardCondition is directly created as an object by using the GuardCondition constructor. When a IGuardCondition is initially created, the TriggerValue is false. The purpose of the IGuardCondition is to provide the means for an application to manually wake up an IWaitSet. This is accomplished by attaching the IGuardCondition to the IWaitset and setting the TriggerValue by means of the IGuardCondition.SetTriggerValue operation.
Definition at line 233 of file DdsDcpsInterfaces.cs.
ReturnCode DDS.IGuardCondition.SetTriggerValue | ( | bool | value | ) |
This operation sets the TriggerValue of the IGuardCondition.
An IGuardCondition object is a specific ICondition which TriggerValue is completely under the control of the application. This operation must be used by the application to manually wake-up an IWaitSet. This operation sets the TriggerValue of the IGuardCondition to the parameter value. When an IGuardCondition is initially created, the TriggerValue is false.
value | The boolean value to which the IGuardCondition is set. |