CYCLUS
Public Member Functions | List of all members
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

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

Definition at line 16 of file builder.h.

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

Definition at line 17 of file builder.h.

Member Function Documentation

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

Definition at line 31 of file builder.h.

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.

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: