Classes | Public Member Functions | Static Public Member Functions | List of all members
cyclus::DynamicModule Class Reference

Detailed Description

Definition at line 49 of file dynamic_module.h.

#include <dynamic_module.h>


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 AgentMake (Context *ctx, AgentSpec spec)

Constructor & Destructor Documentation

◆ DynamicModule()

cyclus::DynamicModule::DynamicModule ( )

Do-nothing constructor.

Definition at line 61 of file dynamic_module.h.

Member Function Documentation

◆ CloseAll()

void cyclus::DynamicModule::CloseAll ( )

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

◆ Exists()

bool cyclus::DynamicModule::Exists ( AgentSpec  spec)

Tests that an agent spec really exists.

Definition at line 97 of file

◆ IsPyAgent()

bool cyclus::DynamicModule::IsPyAgent ( AgentSpec  spec)

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

◆ Make()

Agent * cyclus::DynamicModule::Make ( Context ctx,
AgentSpec  spec 

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

◆ path()

std::string cyclus::DynamicModule::path ( )

The path to the module's shared object library.

Definition at line 143 of file

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