Nektar++
|
#include <NekManager.hpp>
Public Types | |
typedef boost::shared_ptr< ValueT > | ValueType |
typedef boost::function < ValueType(const KeyType &key)> | CreateFuncType |
typedef std::map< KeyType, ValueType > | ValueContainer |
typedef boost::shared_ptr < ValueContainer > | ValueContainerShPtr |
typedef std::map< KeyType, CreateFuncType, opLessCreator > | CreateFuncContainer |
typedef std::map< std::string, boost::shared_ptr < ValueContainer > > | ValueContainerPool |
typedef boost::shared_ptr< bool > | BoolSharedPtr |
typedef std::map< std::string, BoolSharedPtr > | FlagContainerPool |
Public Member Functions | |
BOOST_CLASS_REQUIRE (KeyType, boost, LessThanComparableConcept) | |
NekManager (std::string whichPool="") | |
NekManager (CreateFuncType f, std::string whichPool="") | |
~NekManager () | |
bool | RegisterCreator (typename boost::call_traits< KeyType >::const_reference 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 (typename boost::call_traits< KeyType >::const_reference key) |
ValueType | operator[] (typename boost::call_traits< KeyType >::const_reference key) |
void | DeleteObject (typename boost::call_traits< KeyType >::const_reference 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 |
static boost::shared_mutex | m_mutex |
Definition at line 69 of file NekManager.hpp.
typedef boost::shared_ptr<bool> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::BoolSharedPtr |
Definition at line 80 of file NekManager.hpp.
typedef std::map<KeyType, CreateFuncType, opLessCreator> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::CreateFuncContainer |
Definition at line 78 of file NekManager.hpp.
typedef boost::function<ValueType (const KeyType& key)> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::CreateFuncType |
Definition at line 75 of file NekManager.hpp.
typedef std::map<std::string, BoolSharedPtr> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::FlagContainerPool |
Definition at line 81 of file NekManager.hpp.
typedef std::map<KeyType, ValueType> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueContainer |
Definition at line 76 of file NekManager.hpp.
typedef std::map<std::string, boost::shared_ptr<ValueContainer> > Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueContainerPool |
Definition at line 79 of file NekManager.hpp.
typedef boost::shared_ptr<ValueContainer> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueContainerShPtr |
Definition at line 77 of file NekManager.hpp.
typedef boost::shared_ptr<ValueT> Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::ValueType |
Definition at line 74 of file NekManager.hpp.
|
inline |
Definition at line 83 of file NekManager.hpp.
|
inlineexplicit |
Definition at line 116 of file NekManager.hpp.
|
inline |
Definition at line 155 of file NekManager.hpp.
|
private |
|
inline |
Definition at line 178 of file NekManager.hpp.
Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::BOOST_CLASS_REQUIRE | ( | KeyType | , |
boost | , | ||
LessThanComparableConcept | |||
) |
|
inlinestatic |
Definition at line 238 of file NekManager.hpp.
|
inline |
Definition at line 228 of file NekManager.hpp.
|
inlinestatic |
Definition at line 293 of file NekManager.hpp.
Referenced by Nektar::VortexWaveInteraction::ExecuteLoop().
|
inlinestatic |
Definition at line 274 of file NekManager.hpp.
Referenced by Nektar::VortexWaveInteraction::ExecuteLoop().
|
private |
|
inline |
Definition at line 190 of file NekManager.hpp.
|
inlinestatic |
Definition at line 261 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 161 of file NekManager.hpp.
|
inline |
Register the Global Create Function. The return value is just to facilitate calling statically.
Definition at line 171 of file NekManager.hpp.
Referenced by Nektar::LibUtilities::TimeIntegrationSchemeManager().
|
private |
Definition at line 320 of file NekManager.hpp.
|
private |
Definition at line 321 of file NekManager.hpp.
|
private |
Definition at line 317 of file NekManager.hpp.
|
staticprivate |
Definition at line 319 of file NekManager.hpp.
|
staticprivate |
Definition at line 322 of file NekManager.hpp.
|
staticprivate |
Definition at line 318 of file NekManager.hpp.
|
private |
Definition at line 316 of file NekManager.hpp.