![]() |
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 59 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 103 of file dynamic_module.cc.
|
static |
Tests that an agent spec really exists.
Definition at line 93 of file dynamic_module.cc.
|
static |
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 114 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 69 of file dynamic_module.cc.
std::string cyclus::DynamicModule::path | ( | ) |
The path to the module's shared object library.
Definition at line 138 of file dynamic_module.cc.