|
| runnable () |
| Constructor for runnable.
|
|
virtual | ~runnable () |
| Destructor for runnable.
|
|
virtual void | run_onetime () |
| Function that is called only one time on start.
|
|
virtual void | idle () |
| idling function that is called while is_running() returns true.
|
|
virtual bool | should_quit () const |
| Function that if return true, the program will exit.
|
|
virtual bool | is_running () const |
| Get if the simulation is running.
|
|
virtual void | set_running (bool running) |
| Set if the simulation is running.
|
|
virtual void | recursive_load (configuration &config) override |
| Start recursively load configurables. More...
|
|
virtual void | recursive_configure (configuration &config) override |
| Recursively call configure. More...
|
|
| recursive_configurable ()=default |
| Default constructor.
|
|
virtual void | recursive_initialize (const configurable::environment_map &environment=configurable::environment_map()) |
| Initialize the program itself and relay the same to its children. Used to get things ready for actual use. More...
|
|
virtual bool | is_ready () const |
| Get if the instance is initialized. More...
|
|
virtual void | add_child (configurable *child) |
| Add a child instance. More...
|
|
virtual void | add_child (recursive_configurable *child) |
| Add a child instance. More...
|
|
virtual void | remove_child (configurable *child) |
| Remove a child instance. More...
|
|
virtual void | remove_child (recursive_configurable *child) |
| Remove a child instance. More...
|
|
virtual void | setup_now (configuration &config=get_global_configuration()) override |
| Run recursive_load - recursive_configure - recursive_initialize processes.
|
|
virtual bool | not_recursive () override |
| Check if this instance is not derived from recursive_configurable. More...
|
|
void | set_environment (std::string name, const void *value) |
| Set the pointer to an environmental value associated with an input name. More...
|
|
virtual void | load (configuration &config) |
| Load the program. Used to load files and libraries into memory. More...
|
|
virtual void | configure (configuration &config) |
| Configure the program. Used to load and set parameters. More...
|
|
| module () |
| Default constructor for module.
|
|
virtual | ~module () |
| Default destructor for module.
|
|
virtual std::string | get_module_name () const |
| Get the module name. More...
|
|
| credit ()=default |
| Default constructor.
|
|
| credit (std::string name, std::string argument_name) |
| Constructor for credit. More...
|
|
virtual void | set_name (std::string name, std::string argument_name="") |
| Set name (and perhaps, argument name together) More...
|
|
virtual std::string | get_name () const |
| Get the name.
|
|
virtual void | set_argument_name (std::string argument_name) |
| Set an argument name. More...
|
|
virtual std::string | get_argument_name () const |
| Get an argument name. More...
|
|
virtual double | get_version () const |
| Get version. More...
|
|
virtual std::string | get_author () const |
| Get author's name. More...
|
|
virtual std::tuple< int, int, int > | get_date () const |
| Get currently set date. More...
|
|
virtual std::string | get_email_address () const |
| Get email address. More...
|
|
virtual bool | send_message (std::string message, void *ptr=nullptr) |
| Send a message. More...
|
|
virtual bool | const_send_message (std::string message, void *ptr=nullptr) const |
| Send a message. More...
|
|