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

#include <deploy_inst.h>

Inheritance diagram for cycamore::DeployInst:
Inheritance graph
[legend]
Collaboration diagram for cycamore::DeployInst:
Collaboration graph
[legend]

Public Member Functions

virtual Json::Value annotations ()
 
virtual void Build (cyclus::Agent *parent)
 
virtual void Build (cyclus::Agent *parent)
 
virtual cyclus::Agent * Clone ()
 
 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 ()
 
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 RecordPosition ()
 Records an agent's latitude and longitude to the output db. More...
 
void RecordPosition ()
 Records an agent's latitude and longitude to the output db. More...
 

Private Attributes

cyclus::toolkit::Position coordinates
 
std::vector< intcycpp_shape_latitude
 
std::vector< intcycpp_shape_longitude
 
double latitude
 
double longitude
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DeployInst() [1/2]

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

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

Referenced by cycamore::ConstructDeployInst().

◆ ~DeployInst() [1/2]

cycamore::DeployInst::~DeployInst ( )
virtual

Definition at line 13 of file _tmp_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 249 of file _tmp_build/cycamore/deploy_inst.h.

◆ Build() [1/2]

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

◆ Build() [2/2]

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

Definition at line 15 of file _tmp_build/cycamore/deploy_inst.cc.

References build_times, lifetimes, n_build, prototypes, and cycamore::string.

Referenced by Snapshot(), and version().

◆ Clone()

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

Definition at line 197 of file _tmp_build/cycamore/deploy_inst.h.

References InitFrom().

Here is the call graph for this function:

◆ EnterNotify() [1/2]

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

◆ EnterNotify() [2/2]

void cycamore::DeployInst::EnterNotify ( )
virtual

Definition at line 50 of file _tmp_build/cycamore/deploy_inst.cc.

References build_times, lifetimes, n_build, prototypes, and RecordPosition().

Referenced by Snapshot(), and version().

Here is the call graph for this function:

◆ 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 313 of file _tmp_build/cycamore/deploy_inst.h.

◆ RecordPosition() [1/2]

void cycamore::DeployInst::RecordPosition ( )
private

Records an agent's latitude and longitude to the output db.

◆ RecordPosition() [2/2]

void cycamore::DeployInst::RecordPosition ( )
private

Records an agent's latitude and longitude to the output db.

Definition at line 72 of file _tmp_build/cycamore/deploy_inst.cc.

References latitude, longitude, and cycamore::string.

Referenced by EnterNotify(), and version().

◆ schema()

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

Definition at line 203 of file _tmp_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 316 of file _tmp_build/cycamore/deploy_inst.h.

◆ version() [1/2]

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

Definition at line 33 of file _tmp_build/cycamore/deploy_inst.h.

References CYCAMORE_VERSION.

◆ version() [2/2]

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

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

References Build(), build_times, coordinates, CYCAMORE_VERSION, EnterNotify(), latitude, lifetimes, longitude, n_build, prototypes, and RecordPosition().

Here is the call graph for this function:

Member Data Documentation

◆ build_times

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

◆ coordinates

cyclus::toolkit::Position cycamore::DeployInst::coordinates
private

Definition at line 378 of file _tmp_build/cycamore/deploy_inst.h.

Referenced by version().

◆ cycpp_shape_build_times

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

Definition at line 347 of file _tmp_build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_latitude

std::vector<int> cycamore::DeployInst::cycpp_shape_latitude
private

Definition at line 367 of file _tmp_build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_lifetimes

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

Definition at line 359 of file _tmp_build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_longitude

std::vector<int> cycamore::DeployInst::cycpp_shape_longitude
private

Definition at line 374 of file _tmp_build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_n_build

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

Definition at line 352 of file _tmp_build/cycamore/deploy_inst.h.

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

◆ cycpp_shape_prototypes

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

Definition at line 341 of file _tmp_build/cycamore/deploy_inst.h.

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

◆ latitude

double cycamore::DeployInst::latitude
private

◆ lifetimes

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

◆ longitude

double cycamore::DeployInst::longitude
private

◆ 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: