Class ActorRef
Defined in File Actor.hpp
Class Documentation
-
class ActorRef
An handle for Actors to control world tree ownership.
Public Functions
-
inline ActorRef()
Create a new “null” ActorRef that is invalid.
-
Actor *operator->()
Access the underlying Actor.
- Throws:
NonexistentValueException – If this handle is invalid
-
const Actor *operator->() const
Access the underlying Actor constly.
- Throws:
NonexistentValueException – If this handle is invalid
-
operator bool() const noexcept
Check if this handle is valid.
- Returns:
Whether this handle is managing a living Actor or not (null handle or destroyed actor)
-
inline ActorRef()