CYCLUS
Loading...
Searching...
No Matches
cyclus::toolkit::Builder Class Reference

Detailed Description

A mixin to provide information about commodity producers that can be built.

Definition at line 14 of file builder.h.

#include <builder.h>

Inheritance diagram for cyclus::toolkit::Builder:
cyclus::toolkit::AgentManaged

Public Member Functions

 Builder (Agent *agent=NULL)
 
const std::set< CommodityProducer * > & producers () const
 
void Register (CommodityProducer *producer)
 
void Unregister (CommodityProducer *producer)
 
virtual ~Builder ()
 
- Public Member Functions inherited from cyclus::toolkit::AgentManaged
Agentagent () const
 
 AgentManaged (Agent *agent=NULL)
 

Constructor & Destructor Documentation

◆ Builder()

cyclus::toolkit::Builder::Builder ( Agent * agent = NULL)
inline

Definition at line 16 of file builder.h.

◆ ~Builder()

virtual cyclus::toolkit::Builder::~Builder ( )
inlinevirtual

Definition at line 17 of file builder.h.

Member Function Documentation

◆ producers()

const std::set< CommodityProducer * > & cyclus::toolkit::Builder::producers ( ) const
inline

Definition at line 31 of file builder.h.

◆ Register()

void cyclus::toolkit::Builder::Register ( CommodityProducer * producer)
inline

Register a commodity producer with the agent.

Parameters
producerthe producer

Definition at line 21 of file builder.h.

◆ Unregister()

void cyclus::toolkit::Builder::Unregister ( CommodityProducer * producer)
inline

Unregister a commodity producer with the agent.

Parameters
producerthe producer

Definition at line 27 of file builder.h.


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