Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::ModuleConfig Class Reference

#include <module_config.h>

Inheritance diagram for Realm::ModuleConfig:

Public Member Functions

virtual ~ModuleConfig (void)
 
template<typename T >
RealmStatus set_property (const std::string &name, T value)
 
template<typename T >
RealmStatus get_property (const std::string &name, T &value) const
 
void finish_configure (void)
 
const std::string & get_name (void) const
 
template<typename T >
RealmStatus get_resource (const std::string &name, T &value) const
 
virtual void configure_from_cmdline (std::vector< std::string > &cmdline)
 

Protected Member Functions

 ModuleConfig (const std::string &name)
 

Protected Attributes

std::unordered_map< std::string, void *const > config_map
 
std::unordered_map< std::string, void *const > resource_map
 
std::string module_name
 
bool resource_discover_finished = false
 
bool finish_configured = false
 

Constructor & Destructor Documentation

◆ ModuleConfig()

Realm::ModuleConfig::ModuleConfig ( const std::string &  name)
protected

◆ ~ModuleConfig()

virtual Realm::ModuleConfig::~ModuleConfig ( void  )
virtual

Member Function Documentation

◆ configure_from_cmdline()

◆ finish_configure()

void Realm::ModuleConfig::finish_configure ( void  )

◆ get_name()

const std::string & Realm::ModuleConfig::get_name ( void  ) const

◆ get_property()

template<typename T >
RealmStatus Realm::ModuleConfig::get_property ( const std::string &  name,
T &  value 
) const

◆ get_resource()

template<typename T >
RealmStatus Realm::ModuleConfig::get_resource ( const std::string &  name,
T &  value 
) const

◆ set_property()

template<typename T >
RealmStatus Realm::ModuleConfig::set_property ( const std::string &  name,
value 
)

Member Data Documentation

◆ config_map

std::unordered_map<std::string, void *const> Realm::ModuleConfig::config_map
protected

◆ finish_configured

bool Realm::ModuleConfig::finish_configured = false
protected

◆ module_name

std::string Realm::ModuleConfig::module_name
protected

◆ resource_discover_finished

bool Realm::ModuleConfig::resource_discover_finished = false
protected

◆ resource_map

std::unordered_map<std::string, void *const> Realm::ModuleConfig::resource_map
protected

The documentation for this class was generated from the following file: