#include <singletonmodule.h>
Public Types | |
typedef API::Type | Type |
Public Member Functions | |
SingletonModule () | |
SingletonModule (const APIConstructor &constructor) | |
virtual | ~SingletonModule () |
void | selfRegister () |
Dependencies & | getDependencies () |
void * | getTable () |
void | capture () |
void | release () |
Private Attributes | |
Dependencies * | m_dependencies |
API * | m_api |
std::size_t | m_refcount |
bool | m_dependencyCheck |
bool | m_cycleCheck |
Definition at line 75 of file singletonmodule.h.
typedef API::Type SingletonModule< API, Dependencies, APIConstructor >::Type |
Definition at line 83 of file singletonmodule.h.
SingletonModule< API, Dependencies, APIConstructor >::SingletonModule | ( | ) | [inline] |
Definition at line 85 of file singletonmodule.h.
SingletonModule< API, Dependencies, APIConstructor >::SingletonModule | ( | const APIConstructor & | constructor | ) | [inline, explicit] |
Definition at line 89 of file singletonmodule.h.
virtual SingletonModule< API, Dependencies, APIConstructor >::~SingletonModule | ( | ) | [inline, virtual] |
Definition at line 94 of file singletonmodule.h.
References SingletonModule< API, Dependencies, APIConstructor >::m_refcount.
void SingletonModule< API, Dependencies, APIConstructor >::capture | ( | ) | [inline] |
Definition at line 116 of file singletonmodule.h.
References SingletonModule< API, Dependencies, APIConstructor >::m_api, SingletonModule< API, Dependencies, APIConstructor >::m_cycleCheck, SingletonModule< API, Dependencies, APIConstructor >::m_dependencies, SingletonModule< API, Dependencies, APIConstructor >::m_dependencyCheck, and SingletonModule< API, Dependencies, APIConstructor >::m_refcount.
Dependencies& SingletonModule< API, Dependencies, APIConstructor >::getDependencies | ( | ) | [inline] |
Definition at line 105 of file singletonmodule.h.
References SingletonModule< API, Dependencies, APIConstructor >::m_dependencies.
void* SingletonModule< API, Dependencies, APIConstructor >::getTable | ( | ) | [inline] |
Definition at line 109 of file singletonmodule.h.
References SingletonModule< API, Dependencies, APIConstructor >::m_api.
void SingletonModule< API, Dependencies, APIConstructor >::release | ( | ) | [inline] |
Definition at line 136 of file singletonmodule.h.
References SingletonModule< API, Dependencies, APIConstructor >::m_api, SingletonModule< API, Dependencies, APIConstructor >::m_dependencies, SingletonModule< API, Dependencies, APIConstructor >::m_dependencyCheck, and SingletonModule< API, Dependencies, APIConstructor >::m_refcount.
void SingletonModule< API, Dependencies, APIConstructor >::selfRegister | ( | ) | [inline, virtual] |
Implements ModuleRegisterable.
Definition at line 99 of file singletonmodule.h.
API* SingletonModule< API, Dependencies, APIConstructor >::m_api [private] |
Definition at line 78 of file singletonmodule.h.
Referenced by SingletonModule< API, Dependencies, APIConstructor >::capture(), SingletonModule< API, Dependencies, APIConstructor >::getTable(), and SingletonModule< API, Dependencies, APIConstructor >::release().
bool SingletonModule< API, Dependencies, APIConstructor >::m_cycleCheck [private] |
Definition at line 81 of file singletonmodule.h.
Referenced by SingletonModule< API, Dependencies, APIConstructor >::capture().
Dependencies* SingletonModule< API, Dependencies, APIConstructor >::m_dependencies [private] |
bool SingletonModule< API, Dependencies, APIConstructor >::m_dependencyCheck [private] |
Definition at line 80 of file singletonmodule.h.
Referenced by SingletonModule< API, Dependencies, APIConstructor >::capture(), and SingletonModule< API, Dependencies, APIConstructor >::release().
std::size_t SingletonModule< API, Dependencies, APIConstructor >::m_refcount [private] |