Lumiera
0.pre.03
»edit your freedom«
|
Test Dummy: to be created through the inherited static create(), managed by smart-ptr.
Any Dummy instance gets automatically registered for tracking, and will be deregistered by invoking #unlink(). The link to the actual registration service has to be established at runtime once, by calling #establishRegistryLink or #setRegistryInstance
Definition at line 60 of file session-element-tracker-test.cpp.
Public Member Functions | |
void | detach () |
Public Member Functions inherited from AutoRegistered< TAR > | |
void | detach () |
detach this element from the element-tracking registry. More... | |
Public Attributes | |
const uint | id_ |
Friends | |
class | AutoRegistered< Dummy > |
Additional Inherited Members | |
Public Types inherited from AutoRegistered< TAR > | |
typedef P< TAR > | PTarget |
typedef lib::ElementTracker< TAR > | Registry |
typedef lib::OptionalRef< Registry > | RegistryLink |
Static Public Member Functions inherited from AutoRegistered< TAR > | |
static PTarget | create () |
factory for creating smart-ptr managed TAR instances, automatically registered with the element-tracking registry. | |
static void | deactivateRegistryLink () |
static bool | is_attached_to (Registry const &someRegistry) |
static void | setRegistryInstance (Registry ®istry_to_use) |
Static Protected Attributes inherited from AutoRegistered< TAR > | |
static RegistryLink | getRegistry |
storage for the functor to link an AutoRegistered entity to the corresponding registration service | |