Class Handle¶
- Defined in File handle.h
Class Documentation¶
-
class
Handle
¶ -
Handles act as identifiers for a spawning event. Handles are mainly used to wait for termination of asynchronous operations, via the waitForCompletion(Handle &handle) method.
Public Functions
-
Handle
()¶ Constructor. Initialize the newly created object to a null value.
-
Handle
(typename impl::HandleTrait<TargetSystemTag>::HandleTy id)¶ Constructor. Initialize the newly created object with a specific Handle ID.
- Parameters
id
: The Handle ID to be assigned.
-
operator uint64_t
() const¶ Coverson operator to uint64_t.
Friends
-
friend
shad::rt::Handle::impl::AsynchronousInterface< TargetSystemTag >
-
bool
operator==
(const Handle &lhs, const Handle &rhs)¶ Operator equal.
-