Click or drag to resize

WaitSetAttachCondition Method

Attaches a Condition to the WaitSet.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode AttachCondition(
	Condition cond
)

Parameters

cond
Type: OpenDDSharp.DDSCondition
The Condition to be attached.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks

It is possible to attach a Condition on a WaitSet that is currently being waited upon (via the wait operation). In this case, if the Condition has a TriggerValue of , then attaching the condition will unblock the WaitSet.

Adding a Condition that is already attached to the WaitSet has no effect.

See Also