Class: Condition

vortexdds~Condition()

Abstract base class for Conditions.

Not instantiated by clients.

Note that DDS resources and memory consumed by conditions cannot be automatically reclaimed by the NodeJS engine. Conditions are automatically deleted when the parent entity is deleted. Otherwise, when your application is finished with a Condition, you may call Condition.delete() to release these DDS resources.

Constructor

new Condition()

Methods

delete()

Releases DDS resources associated with the condition.

Once deleted, the condition can no longer be used.

Note that DDS resources and memory consumed by conditions cannot be automatically reclaimed by the NodeJS engine. Conditions are automatically deleted when the parent entity is deleted. Otherwise, when your application is finished with a Condition, you may call this method to release these DDS resources.

triggered() → {boolean}

Checks whether the condition is triggered or not.

Returns:
Type
boolean