qisdk / com.aldebaran.qi.sdk.services / Requirement / <init>

<init>

Requirement()

A requirement creates and holds a Future, which represents the value once satisfied.

If a requirement is already satisfied (i.e. a future not finished with an error is present), #satisfy() returns the existing future. Otherwise, it creates a new one. An existing future can be invalidated (#invalidate(), so that a future call to #satisfy() will create a new one.