Nektar++
|
#include <NekManager.hpp>
Public Types | |
typedef std::shared_ptr< ValueT > | ValueType |
typedef std::function< ValueType(const KeyType &key)> | CreateFuncType |
typedef std::map< KeyType, ValueType > | ValueContainer |
typedef std::shared_ptr< ValueContainer > | ValueContainerShPtr |
typedef std::map< KeyType, CreateFuncType, opLessCreator > | CreateFuncContainer |
typedef std::map< std::string, std::shared_ptr< ValueContainer > > | ValueContainerPool |
typedef std::shared_ptr< bool > | BoolSharedPtr |
typedef std::map< std::string, BoolSharedPtr > | FlagContainerPool |
Public Member Functions | |
NekManager (std::string whichPool="") | |
NekManager (CreateFuncType f, std::string whichPool="") | |
~NekManager () | |
bool | RegisterCreator (const KeyType &key, const CreateFuncType &createFunc) |
Register the given function and associate it with the key. The return value is just to facilitate calling statically. More... | |
bool | RegisterGlobalCreator (const CreateFuncType &createFunc) |
Register the Global Create Function. The return value is just to facilitate calling statically. More... | |
bool | AlreadyCreated (const KeyType &key) |
ValueType | operator[] (const KeyType &key) |
void | DeleteObject (const KeyType &key) |
Static Public Member Functions | |
static void | ClearManager (std::string whichPool="") |
static bool | PoolCreated (std::string whichPool) |
static void | EnableManagement (std::string whichPool="") |
static void | DisableManagement (std::string whichPool="") |
Private Member Functions | |
NekManager< KeyType, ValueType, opLessCreator > & | operator= (const NekManager< KeyType, ValueType, opLessCreator > &rhs) |
NekManager (const NekManager< KeyType, ValueType, opLessCreator > &rhs) | |
Private Attributes | |
ValueContainerShPtr | m_values |
BoolSharedPtr | m_managementEnabled |
CreateFuncType | m_globalCreateFunc |
CreateFuncContainer | m_keySpecificCreateFuncs |
Static Private Attributes | |
static ValueContainerPool | m_ValueContainerPool |
static FlagContainerPool | m_managementEnabledContainerPool |
Definition at line 69 of file NekManager.hpp.
typedef std::shared_ptr<bool> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::BoolSharedPtr |
Definition at line 78 of file NekManager.hpp.
typedef std::map<KeyType, CreateFuncType, opLessCreator> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::CreateFuncContainer |
Definition at line 76 of file NekManager.hpp.
typedef std::function<ValueType (const KeyType& key)> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::CreateFuncType |
Definition at line 73 of file NekManager.hpp.
typedef std::map<std::string, BoolSharedPtr> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::FlagContainerPool |
Definition at line 79 of file NekManager.hpp.
typedef std::map<KeyType, ValueType> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueContainer |
Definition at line 74 of file NekManager.hpp.
typedef std::map<std::string, std::shared_ptr<ValueContainer> > Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueContainerPool |
Definition at line 77 of file NekManager.hpp.
typedef std::shared_ptr<ValueContainer> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueContainerShPtr |
Definition at line 75 of file NekManager.hpp.
typedef std::shared_ptr<ValueT> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueType |
Definition at line 72 of file NekManager.hpp.
|
inline |
Definition at line 81 of file NekManager.hpp.
|
inlineexplicit |
Definition at line 114 of file NekManager.hpp.
|
inline |
Definition at line 160 of file NekManager.hpp.
|
private |
|
inline |
Definition at line 183 of file NekManager.hpp.
|
inlinestatic |
Definition at line 244 of file NekManager.hpp.
|
inline |
Definition at line 234 of file NekManager.hpp.
|
inlinestatic |
Definition at line 300 of file NekManager.hpp.
Referenced by Nektar::VortexWaveInteraction::ExecuteLoop().
|
inlinestatic |
Definition at line 280 of file NekManager.hpp.
Referenced by Nektar::VortexWaveInteraction::ExecuteLoop().
|
private |
|
inline |
Definition at line 195 of file NekManager.hpp.
|
inlinestatic |
Definition at line 269 of file NekManager.hpp.
|
inline |
Register the given function and associate it with the key. The return value is just to facilitate calling statically.
Definition at line 166 of file NekManager.hpp.
|
inline |
Register the Global Create Function. The return value is just to facilitate calling statically.
Definition at line 176 of file NekManager.hpp.
Referenced by Nektar::LibUtilities::TimeIntegrationSchemeManager().
|
private |
Definition at line 327 of file NekManager.hpp.
|
private |
Definition at line 328 of file NekManager.hpp.
|
private |
Definition at line 324 of file NekManager.hpp.
|
staticprivate |
Definition at line 326 of file NekManager.hpp.
|
staticprivate |
Definition at line 325 of file NekManager.hpp.
|
private |
Definition at line 323 of file NekManager.hpp.