54 #ifndef _GAMS_AUCTIONS_AUCTION_FACTORY_REPOSITORY_H_ 55 #define _GAMS_AUCTIONS_AUCTION_FACTORY_REPOSITORY_H_ 61 #include "madara/knowledge/KnowledgeBase.h" 85 const std::string & agent_prefix,
86 madara::knowledge::KnowledgeBase * knowledge = 0);
107 AuctionBase * create (
const std::string & auction_prefix);
120 void set_knowledge (madara::knowledge::KnowledgeBase * knowledge);
126 void set_agent_prefix (
const std::string & prefix);
150 #include "AuctionFactoryRepository.inl" 152 #endif // _GAMS_AUCTIONS_AUCTION_FACTORY_REPOSITORY_H_ Base class for an auction factory.
madara::knowledge::KnowledgeBase * knowledge_
knowledge base containing variables
std::string agent_prefix_
self prefix of the agent
Copyright (c) 2016 Carnegie Mellon University.
Base class for an auction.
A repository for auction factories.
Contains all GAMS-related tools, classes and code.
std::map< AuctionType, AuctionFactory * > AuctionFactoryMap
Convenience typedef for a map of types to factories.
AuctionFactoryMap factory_map_
a mapping of types to auction factories
madara::knowledge::KnowledgeRecord::Integer AuctionType
convenience typedef for AuctionType