Wexus2 0.20
|
#include <Registry.h>
Classes | |
class | ActionInfo |
class | AppInfo |
class | ControllerInfo |
Public Types | |
typedef QMap< QString, std::shared_ptr< AppInfo > > | AppTypeMap |
typedef QMap< QString, std::shared_ptr< AppInfo > > | AppNameMap |
typedef QMap< QString, std::shared_ptr < ControllerInfo > > | ControllerTypeMap |
typedef QList< std::shared_ptr < ActionInfo > > | ActionTypeList |
Static Public Member Functions | |
static AppTypeMap & | appsByType (void) |
static AppNameMap & | appsByName (void) |
static ControllerTypeMap & | controllersByType (void) |
static ActionTypeList & | actionList (void) |
static std::shared_ptr< AppInfo > | newAppInfo (const char *_appname, const char *_typename, ApplicationLoader loader) |
called by RegisterApp | |
static std::shared_ptr< AppInfo > | linkAppInfo (const char *_apptype) |
static std::shared_ptr < ControllerInfo > | newControllerInfo (const char *_cname, const char *_typename, const char *_apptype, ControllerLoader loader) |
called by RegistrerController | |
static std::shared_ptr < ControllerInfo > | linkControllerInfo (const char *_ctype) |
static std::shared_ptr < ActionInfo > | newActionInfo (wexus::MemberFunction mfn, const char *_actionname, const char *_ctype, ActionFunc func) |
called by RegisterAction | |
Static Protected Member Functions | |
static Registry * | instance (void) |
never returns null, makes it if need be | |
Protected Attributes | |
AppTypeMap | dm_apptype |
AppNameMap | dm_appname |
ControllerTypeMap | dm_contype |
ActionTypeList | dm_actionlist |
Static Protected Attributes | |
static Registry * | dm_instance |
A type registry for applications, controllers and actions. This is a singleton.
static std::shared_ptr<AppInfo> wexus::Registry::linkAppInfo | ( | const char * | _apptype | ) | [static] |
called by RegistrerController creates a app placeholder if needed
static std::shared_ptr<ControllerInfo> wexus::Registry::linkControllerInfo | ( | const char * | _ctype | ) | [static] |
called b y RegisterAction createa a controllerinfo placeholder if needed