CYCLUS
|
Definition at line 49 of file dynamic_module.h.
#include <dynamic_module.h>
Classes | |
class | Closer |
Public Member Functions | |
DynamicModule () | |
std::string | path () |
Static Public Member Functions | |
static void | CloseAll () |
static bool | Exists (AgentSpec spec) |
static bool | IsPyAgent (AgentSpec spec) |
static Agent * | Make (Context *ctx, AgentSpec spec) |
|
inline |
Do-nothing constructor.
Definition at line 61 of file dynamic_module.h.
|
static |
Closes all statically loaded dynamic modules.
This should always be called before process termination. This must be called AFTER all agents have been destructed.
Definition at line 107 of file dynamic_module.cc.
Tests that an agent spec really exists.
Definition at line 97 of file dynamic_module.cc.
Tests that an agent spec is for a Python Agent.
This will also return false if the agent doesn't already exist.
Definition at line 118 of file dynamic_module.cc.
Returns a newly constructed agent for the given module spec.
go down a separate execution pathway if we are asked to load a Python module.
Definition at line 73 of file dynamic_module.cc.
std::string cyclus::DynamicModule::path | ( | ) |
The path to the module's shared object library.
Definition at line 143 of file dynamic_module.cc.