CYCAMORE
Loading...
Searching...
No Matches
cycamore::DeployInst Class Reference

#include <deploy_inst.h>

Inheritance diagram for cycamore::DeployInst:

Public Member Functions

virtual Json::Value annotations ()
 
virtual void Build (cyclus::Agent *parent)
 
virtual void Build (cyclus::Agent *parent)
 
virtual void BuildNotify (Agent *m)
 
virtual void BuildNotify (Agent *m)
 
virtual cyclus::Agent * Clone ()
 
virtual void DecomNotify (Agent *m)
 
virtual void DecomNotify (Agent *m)
 
 DeployInst (cyclus::Context *ctx)
 
 DeployInst (cyclus::Context *ctx)
 
virtual void EnterNotify ()
 
virtual void EnterNotify ()
 
virtual void InfileToDb (cyclus::InfileTree *tree, cyclus::DbInit di)
 
virtual void InitFrom (cycamore::DeployInst *m)
 
virtual void InitFrom (cyclus::QueryableBackend *b)
 
virtual void InitInv (cyclus::Inventories &inv)
 
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
 
void WriteProducerInformation (cyclus::toolkit::CommodityProducer *producer)
 write information about a commodity producer to a stream
 
virtual ~DeployInst ()
 
virtual ~DeployInst ()
 

Protected Attributes

std::vector< intbuild_times
 
std::vector< intcycpp_shape_build_times
 
std::vector< intcycpp_shape_lifetimes
 
std::vector< intcycpp_shape_n_build
 
std::vector< intcycpp_shape_prototypes
 
std::vector< intlifetimes
 
std::vector< intn_build
 
std::vector< std::string > prototypes
 

Private Member Functions

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

Detailed Description

Definition at line 24 of file build/cycamore/deploy_inst.h.

Constructor & Destructor Documentation

◆ DeployInst() [1/2]

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

Definition at line 7 of file build/cycamore/deploy_inst.cc.

◆ ~DeployInst() [1/2]

cycamore::DeployInst::~DeployInst ( )
virtual

Definition at line 10 of file build/cycamore/deploy_inst.cc.

◆ DeployInst() [2/2]

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

◆ ~DeployInst() [2/2]

virtual cycamore::DeployInst::~DeployInst ( )
virtual

Member Function Documentation

◆ annotations()

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

Definition at line 253 of file build/cycamore/deploy_inst.h.

◆ Build() [1/2]

void cycamore::DeployInst::Build ( cyclus::Agent * parent)
virtual

Definition at line 12 of file build/cycamore/deploy_inst.cc.

References build_times, lifetimes, n_build, and prototypes.

◆ Build() [2/2]

virtual void cycamore::DeployInst::Build ( cyclus::Agent * parent)
virtual

◆ BuildNotify() [1/2]

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

Definition at line 70 of file build/cycamore/deploy_inst.cc.

References Register_().

◆ BuildNotify() [2/2]

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

◆ Clone()

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

Definition at line 199 of file build/cycamore/deploy_inst.h.

References InitFrom().

◆ DecomNotify() [1/2]

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

Definition at line 74 of file build/cycamore/deploy_inst.cc.

References Unregister_().

◆ DecomNotify() [2/2]

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

◆ EnterNotify() [1/2]

void cycamore::DeployInst::EnterNotify ( )
virtual

Definition at line 47 of file build/cycamore/deploy_inst.cc.

References build_times, lifetimes, n_build, and prototypes.

◆ EnterNotify() [2/2]

virtual void cycamore::DeployInst::EnterNotify ( )
virtual

◆ InfileToDb()

virtual void cycamore::DeployInst::InfileToDb ( cyclus::InfileTree * tree,
cyclus::DbInit di )
inlinevirtual

◆ InitFrom() [1/2]

virtual void cycamore::DeployInst::InitFrom ( cycamore::DeployInst * m)
inlinevirtual

◆ InitFrom() [2/2]

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

◆ InitInv()

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

Definition at line 327 of file build/cycamore/deploy_inst.h.

◆ Register_() [1/2]

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

register a child

Referenced by BuildNotify().

◆ Register_() [2/2]

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

register a child

◆ schema()

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

Definition at line 205 of file build/cycamore/deploy_inst.h.

◆ Snapshot()

virtual void cycamore::DeployInst::Snapshot ( cyclus::DbInit di)
inlinevirtual

◆ SnapshotInv()

virtual cyclus::Inventories cycamore::DeployInst::SnapshotInv ( )
inlinevirtual

Definition at line 330 of file build/cycamore/deploy_inst.h.

◆ Unregister_() [1/2]

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

unregister a child

Referenced by DecomNotify().

◆ Unregister_() [2/2]

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

unregister a child

References build_times, lifetimes, n_build, and prototypes.

◆ version() [1/2]

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

Definition at line 35 of file build/cycamore/deploy_inst.h.

References CYCAMORE_VERSION.

◆ version() [2/2]

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

Definition at line 43 of file src/deploy_inst.h.

References CYCAMORE_VERSION.

◆ WriteProducerInformation() [1/2]

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

write information about a commodity producer to a stream

Parameters
producerthe producer

Definition at line 101 of file build/cycamore/deploy_inst.cc.

◆ WriteProducerInformation() [2/2]

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

write information about a commodity producer to a stream

Parameters
producerthe producer

Member Data Documentation

◆ build_times

std::vector< int > cycamore::DeployInst::build_times
protected

◆ cycpp_shape_build_times

std::vector<int> cycamore::DeployInst::cycpp_shape_build_times
protected

Definition at line 375 of file build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_lifetimes

std::vector<int> cycamore::DeployInst::cycpp_shape_lifetimes
protected

Definition at line 387 of file build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_n_build

std::vector<int> cycamore::DeployInst::cycpp_shape_n_build
protected

Definition at line 380 of file build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_prototypes

std::vector<int> cycamore::DeployInst::cycpp_shape_prototypes
protected

Definition at line 369 of file build/cycamore/deploy_inst.h.

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

◆ lifetimes

std::vector< int > cycamore::DeployInst::lifetimes
protected

◆ n_build

std::vector< int > cycamore::DeployInst::n_build
protected

◆ prototypes

std::vector< std::string > cycamore::DeployInst::prototypes
protected

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