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

#include <python_module.h>

Inheritance diagram for Realm::Python::PythonModuleConfig:
Collaboration diagram for Realm::Python::PythonModuleConfig:

Public Member Functions

virtual void configure_from_cmdline (std::vector< std::string > &cmdline)
 
- Public Member Functions inherited from Realm::ModuleConfig
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
 

Protected Member Functions

 PythonModuleConfig (void)
 
- Protected Member Functions inherited from Realm::ModuleConfig
 ModuleConfig (const std::string &name)
 

Protected Attributes

int cfg_num_python_cpus = 0
 
size_t cfg_stack_size = 2 << 20
 
std::vector< std::string > cfg_import_modules
 
std::vector< std::string > cfg_init_scripts
 
- Protected Attributes inherited from Realm::ModuleConfig
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
 

Friends

class PythonModule
 

Constructor & Destructor Documentation

◆ PythonModuleConfig()

Realm::Python::PythonModuleConfig::PythonModuleConfig ( void  )
protected

Member Function Documentation

◆ configure_from_cmdline()

virtual void Realm::Python::PythonModuleConfig::configure_from_cmdline ( std::vector< std::string > &  cmdline)
virtual

Reimplemented from Realm::ModuleConfig.

Friends And Related Symbol Documentation

◆ PythonModule

friend class PythonModule
friend

Member Data Documentation

◆ cfg_import_modules

std::vector<std::string> Realm::Python::PythonModuleConfig::cfg_import_modules
protected

◆ cfg_init_scripts

std::vector<std::string> Realm::Python::PythonModuleConfig::cfg_init_scripts
protected

◆ cfg_num_python_cpus

int Realm::Python::PythonModuleConfig::cfg_num_python_cpus = 0
protected

◆ cfg_stack_size

size_t Realm::Python::PythonModuleConfig::cfg_stack_size = 2 << 20
protected

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