Future value.
Public Member Functions | |
| virtual void | SetValue (const Var &aValue)=0 |
| Sets and signal the future. {Property}. More... | |
| virtual void | Reset ()=0 |
| Reset the future to the unset & not-canceled state. More... | |
Public Member Functions inherited from iFuture | |
| virtual void | Cancel ()=0 |
| Cancel the task associated with the future. More... | |
| virtual tBool | GetIsCancelled () const =0 |
| Check whether the task has been cancelled. {Property}. More... | |
| virtual tBool | GetIsDone () const =0 |
| Return true if this task completed. {Property}. More... | |
| virtual tBool | Wait (tU32 anTimeOut)=0 |
| Wait for the value to be set. More... | |
| virtual Var | GetValue () const =0 |
| Return the result of the computation, returns null if the task is not completed. {Property}. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Reset the future to the unset & not-canceled state.
1.8.7