|
qb
2.0.0.0
C++17 Actor Framework
|
Templated actor factory implementation. More...
#include <Actor.h>


Public Member Functions | |
| TActorFactory (ActorId const id, _Args &&... args) | |
| Actor * | create () final |
| Creates an actor instance. | |
| bool | isService () const final |
| Checks if the factory creates a service actor. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from qb::ActorProxy | |
| template<typename _Type> | |
| static auto | getType () |
| template<typename _Type> | |
| static const char * | getName () |
| Static Protected Member Functions inherited from qb::ActorProxy | |
| template<typename _Type> | |
| static void | setType (Actor &actor) |
| template<typename _Type> | |
| static void | setName (Actor &actor) |
Templated actor factory implementation.
| _Actor | The concrete Actor type this factory will create. |
| _Args | The argument types for the _Actor's constructor. |
This class is used internally to create actor instances with their constructor arguments, managing type information via ActorProxy.
|
inlinefinalvirtual |
|
inlinenodiscardfinalvirtual |
Checks if the factory creates a service actor.
Implements qb::IActorFactory.