A singleton for managing the plugins enabled by a specific user. More...
#include <UserPlugins.h>
Public Types | |
typedef ObjectLevelLockingPolicy < ::boost::lock_guard < ::boost::mutex > > | LockRead |
typedef ObjectLevelLockingPolicy < ::boost::lock_guard < ::boost::mutex > > | LockWrite |
typedef volatile UserPlugins | VolatileType |
Public Member Functions | |
void | load () |
It starts all the plugins enabled by the user. More... | |
Static Public Member Functions | |
static UserPlugins & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
UserPlugins () | |
It initializes the singleton. More... | |
~UserPlugins () | |
Destructor. More... | |
Friends | |
class | te::common::Singleton< UserPlugins > |
A singleton for managing the plugins enabled by a specific user.
This singleton can be used to keep the list of plugins enabled by a given application user.
It will look for a plugin configuration file as follows:
Definition at line 59 of file UserPlugins.h.
|
inherited |
Definition at line 205 of file ThreadingPolicies.h.
|
inherited |
Definition at line 206 of file ThreadingPolicies.h.
|
inherited |
Definition at line 204 of file ThreadingPolicies.h.
|
protected |
It initializes the singleton.
Definition at line 148 of file UserPlugins.cpp.
|
protected |
Destructor.
Definition at line 152 of file UserPlugins.cpp.
|
staticinherited |
It returns a reference to the singleton instance.
Referenced by te::qt::af::ApplicationController::initializePlugins().
void te::qt::af::UserPlugins::load | ( | ) |
It starts all the plugins enabled by the user.
Definition at line 47 of file UserPlugins.cpp.
References te::common::ApplicationSettings::getAllSettings(), te::plugin::GetInstalledPlugin(), te::common::Singleton< UserApplicationSettings >::getInstance(), te::common::Singleton< ApplicationPlugins >::getInstance(), and te::common::Singleton< PluginManager >::getInstance().
Referenced by te::qt::af::ApplicationController::initializePlugins().
|
friend |
Definition at line 66 of file UserPlugins.h.