1#ifndef CYCAMORE_SRC_MANAGER_INST_H_
2#define CYCAMORE_SRC_MANAGER_INST_H_
14 :
public cyclus::Institution,
15 public cyclus::toolkit::CommodityProducerManager,
16 public cyclus::toolkit::Builder,
17 public cyclus::toolkit::Position {
29 #pragma cyclus note {"doc": "An institution that owns and operates a " \
30 "manually entered list of facilities in " \
54 #pragma cyclus var { \
55 "tooltip": "producer facility prototypes", \
56 "uilabel": "Producer Prototype List", \
57 "uitype": ["oneormore", "prototype"], \
58 "doc": "A set of facility prototypes that this institution can build. " \
59 "All prototypes in this list must be based on an archetype that " \
60 "implements the cyclus::toolkit::CommodityProducer interface", \
64 #pragma cyclus var { \
66 "uilabel": "Geographical latitude in degrees as a double", \
67 "doc": "Latitude of the agent's geographical position. The value should " \
68 "be expressed in degrees as a double." \
72 #pragma cyclus var { \
74 "uilabel": "Geographical longitude in degrees as a double", \
75 "doc": "Longitude of the agent's geographical position. The value should " \
76 "be expressed in degrees as a double." \
void Register_(cyclus::Agent *agent)
register a child
void WriteProducerInformation(cyclus::toolkit::CommodityProducer *producer)
write information about a commodity producer to a stream
virtual void DecomNotify(Agent *m)
unregister a child
cyclus::toolkit::Position coordinates
void Unregister_(cyclus::Agent *agent)
unregister a child
virtual void EnterNotify()
enter the simulation and register any children present
void RecordPosition()
Records an agent's latitude and longitude to the output db.
std::vector< std::string > prototypes
virtual ~ManagerInst()
Default destructor.
virtual std::string version()
ManagerInst(cyclus::Context *ctx)
Default constructor.
virtual void BuildNotify(Agent *m)
register a new child