![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/element-tracker.hpp"
Helper mixin template for implementing a type intended to participate in automatic element tracking.
Definition at line 163 of file element-tracker.hpp.
Public Types | |
| typedef lib::ElementTracker< TAR > | Registry |
| typedef lib::OptionalRef< Registry > | RegistryLink |
| typedef P< TAR > | PTarget |
Static Public Member Functions | |
| static PTarget | create () |
| factory for creating smart-ptr managed TAR instances, automatically registered with the element-tracking registry. | |
| static void | setRegistryInstance (Registry ®istry_to_use) |
| static void | deactivateRegistryLink () |
| static bool | is_attached_to (Registry const &someRegistry) |
Public Member Functions | |
| void | detach () |
| detach this element from the element-tracking registry. | |
Static Protected Attributes | |
| static RegistryLink | getRegistry |
| storage for the functor to link an AutoRegistered entity to the corresponding registration service | |
| typedef lib::ElementTracker<TAR> Registry |
Definition at line 166 of file element-tracker.hpp.
| typedef lib::OptionalRef<Registry> RegistryLink |
Definition at line 167 of file element-tracker.hpp.
Definition at line 184 of file element-tracker.hpp.
|
inline |
detach this element from the element-tracking registry.
Definition at line 174 of file element-tracker.hpp.
References AutoRegistered< TAR >::getRegistry.
Referenced by Sequence::unlink(), and Timeline::unlink().
Here is the caller graph for this function:
|
inlinestatic |
factory for creating smart-ptr managed TAR instances, automatically registered with the element-tracking registry.
Definition at line 191 of file element-tracker.hpp.
References AutoRegistered< TAR >::getRegistry.
|
inlinestatic |
Definition at line 205 of file element-tracker.hpp.
References AutoRegistered< TAR >::getRegistry, and OptionalRef< T >::link_to().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 211 of file element-tracker.hpp.
References OptionalRef< T >::clear(), and AutoRegistered< TAR >::getRegistry.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 217 of file element-tracker.hpp.
References AutoRegistered< TAR >::getRegistry, and OptionalRef< T >::points_to().
Here is the call graph for this function:
|
staticprotected |
storage for the functor to link an AutoRegistered entity to the corresponding registration service
Definition at line 223 of file element-tracker.hpp.
Referenced by AutoRegistered< TAR >::create(), AutoRegistered< TAR >::deactivateRegistryLink(), AutoRegistered< TAR >::detach(), AutoRegistered< TAR >::is_attached_to(), and AutoRegistered< TAR >::setRegistryInstance().
Inheritance diagram for AutoRegistered< TAR >:
Collaboration diagram for AutoRegistered< TAR >: