CYCAMORE
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cycamore::ManagerInst Class Reference

#include <manager_inst.h>

Inheritance diagram for cycamore::ManagerInst:

Public Member Functions

virtual Json::Value annotations ()
 
virtual void BuildNotify (Agent *m)
 register a new child More...
 
virtual void BuildNotify (Agent *m)
 register a new child More...
 
virtual cyclus::Agent * Clone ()
 
virtual void DecomNotify (Agent *m)
 unregister a child More...
 
virtual void DecomNotify (Agent *m)
 unregister a child More...
 
virtual void EnterNotify ()
 enter the simulation and register any children present More...
 
virtual void EnterNotify ()
 enter the simulation and register any children present More...
 
virtual void InfileToDb (cyclus::InfileTree *tree, cyclus::DbInit di)
 
virtual void InitFrom (cycamore::ManagerInst *m)
 
virtual void InitFrom (cyclus::QueryableBackend *b)
 
virtual void InitInv (cyclus::Inventories &inv)
 
 ManagerInst (cyclus::Context *ctx)
 Default constructor. More...
 
 ManagerInst (cyclus::Context *ctx)
 Default constructor. More...
 
virtual std::string schema ()
 
virtual void Snapshot (cyclus::DbInit di)
 
virtual cyclus::Inventories SnapshotInv ()
 
virtual std::string version ()
 
virtual std::string version ()
 
void WriteProducerInformation (cyclus::toolkit::CommodityProducer *producer)
 write information about a commodity producer to a stream More...
 
void WriteProducerInformation (cyclus::toolkit::CommodityProducer *producer)
 write information about a commodity producer to a stream More...
 
virtual ~ManagerInst ()
 Default destructor. More...
 
virtual ~ManagerInst ()
 Default destructor. More...
 

Private Member Functions

void Register_ (cyclus::Agent *agent)
 register a child More...
 
void Register_ (cyclus::Agent *agent)
 register a child More...
 
void Unregister_ (cyclus::Agent *agent)
 unregister a child More...
 
void Unregister_ (cyclus::Agent *agent)
 unregister a child More...
 

Private Attributes

std::vector< intcycpp_shape_prototypes
 
std::vector< std::string > prototypes
 

Detailed Description

Introduction

Detailed Behavior

Warning
The ManagerInst is experimental

Definition at line 15 of file _tmp_build/cycamore/manager_inst.h.

Constructor & Destructor Documentation

cycamore::ManagerInst::ManagerInst ( cyclus::Context *  ctx)

Default constructor.

Definition at line 8 of file _tmp_build/cycamore/manager_inst.cc.

Referenced by cycamore::ConstructManagerInst().

cycamore::ManagerInst::~ManagerInst ( )
virtual

Default destructor.

Definition at line 11 of file _tmp_build/cycamore/manager_inst.cc.

cycamore::ManagerInst::ManagerInst ( cyclus::Context *  ctx)

Default constructor.

virtual cycamore::ManagerInst::~ManagerInst ( )
virtual

Default destructor.

Member Function Documentation

virtual Json::Value cycamore::ManagerInst::annotations ( )
inlinevirtual

Definition at line 91 of file _tmp_build/cycamore/manager_inst.h.

virtual void cycamore::ManagerInst::BuildNotify ( Agent *  m)
virtual

register a new child

void cycamore::ManagerInst::BuildNotify ( Agent *  m)
virtual

register a new child

Definition at line 13 of file _tmp_build/cycamore/manager_inst.cc.

References Register_().

Referenced by Snapshot(), and version().

virtual cyclus::Agent* cycamore::ManagerInst::Clone ( )
inlinevirtual

Definition at line 72 of file _tmp_build/cycamore/manager_inst.h.

References InitFrom(), and m.

virtual void cycamore::ManagerInst::DecomNotify ( Agent *  m)
virtual

unregister a child

void cycamore::ManagerInst::DecomNotify ( Agent *  m)
virtual

unregister a child

Definition at line 17 of file _tmp_build/cycamore/manager_inst.cc.

References Unregister_().

Referenced by Snapshot(), and version().

virtual void cycamore::ManagerInst::EnterNotify ( )
virtual

enter the simulation and register any children present

void cycamore::ManagerInst::EnterNotify ( )
virtual

enter the simulation and register any children present

Definition at line 21 of file _tmp_build/cycamore/manager_inst.cc.

References prototypes, Register_(), and Unregister_().

Referenced by Snapshot(), and version().

virtual void cycamore::ManagerInst::InfileToDb ( cyclus::InfileTree *  tree,
cyclus::DbInit  di 
)
inlinevirtual
virtual void cycamore::ManagerInst::InitFrom ( cycamore::ManagerInst m)
inlinevirtual

Definition at line 27 of file _tmp_build/cycamore/manager_inst.h.

References cycpp_shape_prototypes, and prototypes.

Referenced by Clone().

virtual void cycamore::ManagerInst::InitFrom ( cyclus::QueryableBackend *  b)
inlinevirtual

Definition at line 35 of file _tmp_build/cycamore/manager_inst.h.

References cycpp_shape_prototypes, and prototypes.

virtual void cycamore::ManagerInst::InitInv ( cyclus::Inventories &  inv)
inlinevirtual

Definition at line 120 of file _tmp_build/cycamore/manager_inst.h.

void cycamore::ManagerInst::Register_ ( cyclus::Agent *  agent)
private

register a child

void cycamore::ManagerInst::Register_ ( cyclus::Agent *  agent)
private

register a child

Referenced by BuildNotify(), EnterNotify(), Snapshot(), and version().

virtual std::string cycamore::ManagerInst::schema ( )
inlinevirtual

Definition at line 78 of file _tmp_build/cycamore/manager_inst.h.

virtual void cycamore::ManagerInst::Snapshot ( cyclus::DbInit  di)
inlinevirtual
virtual cyclus::Inventories cycamore::ManagerInst::SnapshotInv ( )
inlinevirtual

Definition at line 123 of file _tmp_build/cycamore/manager_inst.h.

void cycamore::ManagerInst::Unregister_ ( cyclus::Agent *  agent)
private

unregister a child

void cycamore::ManagerInst::Unregister_ ( cyclus::Agent *  agent)
private

unregister a child

Referenced by DecomNotify(), EnterNotify(), Snapshot(), and version().

virtual std::string cycamore::ManagerInst::version ( )
inlinevirtual
virtual std::string cycamore::ManagerInst::version ( )
inlinevirtual

Definition at line 26 of file _tmp_build/cycamore/manager_inst.h.

References CYCAMORE_VERSION.

void cycamore::ManagerInst::WriteProducerInformation ( cyclus::toolkit::CommodityProducer *  producer)

write information about a commodity producer to a stream

Parameters
producerthe producer
void cycamore::ManagerInst::WriteProducerInformation ( cyclus::toolkit::CommodityProducer *  producer)

write information about a commodity producer to a stream

Parameters
producerthe producer

Definition at line 68 of file _tmp_build/cycamore/manager_inst.cc.

Referenced by Snapshot(), and version().

Member Data Documentation

std::vector<int> cycamore::ManagerInst::cycpp_shape_prototypes
private

Definition at line 161 of file _tmp_build/cycamore/manager_inst.h.

Referenced by InfileToDb(), InitFrom(), and Snapshot().

std::vector< std::string > cycamore::ManagerInst::prototypes
private

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