CYCLUS
|
A mixin to provide information about commodity producers.
Definition at line 14 of file commodity_producer_manager.h.
#include <commodity_producer_manager.h>
Public Member Functions | |
CommodityProducerManager (Agent *agent=NULL) | |
const std::set< CommodityProducer * > & | producers () const |
void | Register (CommodityProducer *producer) |
double | TotalCapacity (Commodity &commodity) |
void | Unregister (CommodityProducer *producer) |
virtual | ~CommodityProducerManager () |
Public Member Functions inherited from cyclus::toolkit::AgentManaged | |
Agent * | agent () const |
AgentManaged (Agent *agent=NULL) | |
Definition at line 16 of file commodity_producer_manager.h.
|
inlinevirtual |
Definition at line 17 of file commodity_producer_manager.h.
|
inline |
Definition at line 35 of file commodity_producer_manager.h.
|
inline |
Register a commodity producer with the manager.
producer | the producer |
Definition at line 25 of file commodity_producer_manager.h.
commodity | the commodity in question |
Definition at line 7 of file commodity_producer_manager.cc.
|
inline |
Unregister a commodity producer with the manager.
producer | the producer |
Definition at line 31 of file commodity_producer_manager.h.