CYCLUS
Loading...
Searching...
No Matches
trader_management.h File Reference
#include "error.h"
#include "exchange_context.h"
#include "product.h"
#include "material.h"
#include "trader.h"

Go to the source code of this file.

Namespaces

namespace  cyclus
 

Functions

template<>
void cyclus::AcceptTrades (Trader *trader, const std::vector< std::pair< Trade< Material >, Material::Ptr > > &responses)
 
template<>
void cyclus::AcceptTrades (Trader *trader, const std::vector< std::pair< Trade< Product >, Product::Ptr > > &responses)
 
template<class T >
static void cyclus::AcceptTrades (Trader *trader, const std::vector< std::pair< Trade< T >, typename T::Ptr > > &responses)
 
template<class T >
static void cyclus::PopulateTradeResponses (Trader *trader, const std::vector< Trade< T > > &trades, std::vector< std::pair< Trade< T >, typename T::Ptr > > &responses)
 
template<>
void cyclus::PopulateTradeResponses< Material > (Trader *trader, const std::vector< Trade< Material > > &trades, std::vector< std::pair< Trade< Material >, Material::Ptr > > &responses)
 
template<>
void cyclus::PopulateTradeResponses< Product > (Trader *trader, const std::vector< Trade< Product > > &trades, std::vector< std::pair< Trade< Product >, Product::Ptr > > &responses)
 
template<class T >
static std::set< typename BidPortfolio< T >::Ptr > cyclus::QueryBids (Trader *t, typename CommodMap< T >::type &map)
 
template<>
std::set< BidPortfolio< Material >::Ptr > cyclus::QueryBids< Material > (Trader *t, CommodMap< Material >::type &map)
 
template<>
std::set< BidPortfolio< Product >::Ptr > cyclus::QueryBids< Product > (Trader *t, CommodMap< Product >::type &map)
 
template<class T >
static std::set< typename RequestPortfolio< T >::Ptr > cyclus::QueryRequests (Trader *t)
 
template<>
std::set< RequestPortfolio< Material >::Ptr > cyclus::QueryRequests< Material > (Trader *t)
 
template<>
std::set< RequestPortfolio< Product >::Ptr > cyclus::QueryRequests< Product > (Trader *t)