Class: ReadCondition

vortexdds~ReadCondition()

Represents a condition on Reader input based on samples, instances and view state.

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 ReadCondition()

Internal use only. Use Reader.createReadCondition() instead.

Extends:

Extends

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.

Overrides:

triggered() → {boolean}

Checks whether the condition is triggered or not.

Overrides:
Returns:
Type
boolean