BWAPI
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions
Arbitrator::Arbitrator< _Tp, _Val > Class Template Reference

#include <Arbitrator.h>

List of all members.

Public Member Functions

 Arbitrator ()
bool setBid (Controller< _Tp, _Val > *c, _Tp obj, _Val bid)
bool setBid (Controller< _Tp, _Val > *c, std::set< _Tp > objs, _Val bid)
bool removeBid (Controller< _Tp, _Val > *c, _Tp obj)
bool removeBid (Controller< _Tp, _Val > *c, std::set< _Tp > objs)
bool removeAllBids (Controller< _Tp, _Val > *c)
bool accept (Controller< _Tp, _Val > *c, _Tp obj, _Val bid)
bool accept (Controller< _Tp, _Val > *c, std::set< _Tp > objs, _Val bid)
bool accept (Controller< _Tp, _Val > *c, _Tp obj)
bool accept (Controller< _Tp, _Val > *c, std::set< _Tp > objs)
bool decline (Controller< _Tp, _Val > *c, _Tp obj, _Val bid)
bool decline (Controller< _Tp, _Val > *c, std::set< _Tp > objs, _Val bid)
bool hasBid (_Tp obj) const
const std::pair< Controller
< _Tp, _Val > *, _Val > & 
getHighestBidder (_Tp obj) const
const std::list< std::pair
< Controller< _Tp, _Val >
*, _Val > > 
getAllBidders (_Tp obj) const
const std::set< _Tp > & getObjects (Controller< _Tp, _Val > *c) const
void onRemoveObject (_Tp obj)
_Val getBid (Controller< _Tp, _Val > *c, _Tp obj) const
void update ()

template<class _Tp, class _Val>
class Arbitrator::Arbitrator< _Tp, _Val >


Constructor & Destructor Documentation

template<class _Tp , class _Val >
Arbitrator::Arbitrator< _Tp, _Val >::Arbitrator ( )

Member Function Documentation

template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::accept ( Controller< _Tp, _Val > *  c,
_Tp  obj,
_Val  bid 
)

Here is the caller graph for this function:

template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::accept ( Controller< _Tp, _Val > *  c,
std::set< _Tp >  objs,
_Val  bid 
)
template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::accept ( Controller< _Tp, _Val > *  c,
_Tp  obj 
)
template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::accept ( Controller< _Tp, _Val > *  c,
std::set< _Tp >  objs 
)
template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::decline ( Controller< _Tp, _Val > *  c,
_Tp  obj,
_Val  bid 
)

Here is the caller graph for this function:

template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::decline ( Controller< _Tp, _Val > *  c,
std::set< _Tp >  objs,
_Val  bid 
)
template<class _Tp, class _Val >
const std::list< std::pair< Controller< _Tp, _Val > *, _Val > > Arbitrator::Arbitrator< _Tp, _Val >::getAllBidders ( _Tp  obj) const

Here is the call graph for this function:

Here is the caller graph for this function:

template<class _Tp, class _Val>
_Val Arbitrator::Arbitrator< _Tp, _Val >::getBid ( Controller< _Tp, _Val > *  c,
_Tp  obj 
) const

Here is the caller graph for this function:

template<class _Tp, class _Val >
const std::pair< Controller< _Tp, _Val > *, _Val > & Arbitrator::Arbitrator< _Tp, _Val >::getHighestBidder ( _Tp  obj) const
template<class _Tp, class _Val>
const std::set< _Tp > & Arbitrator::Arbitrator< _Tp, _Val >::getObjects ( Controller< _Tp, _Val > *  c) const

Here is the caller graph for this function:

template<class _Tp, class _Val >
bool Arbitrator::Arbitrator< _Tp, _Val >::hasBid ( _Tp  obj) const
template<class _Tp, class _Val >
void Arbitrator::Arbitrator< _Tp, _Val >::onRemoveObject ( _Tp  obj)
template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::removeAllBids ( Controller< _Tp, _Val > *  c)
template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::removeBid ( Controller< _Tp, _Val > *  c,
_Tp  obj 
)

Here is the caller graph for this function:

template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::removeBid ( Controller< _Tp, _Val > *  c,
std::set< _Tp >  objs 
)
template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::setBid ( Controller< _Tp, _Val > *  c,
_Tp  obj,
_Val  bid 
)

Here is the caller graph for this function:

template<class _Tp, class _Val>
bool Arbitrator::Arbitrator< _Tp, _Val >::setBid ( Controller< _Tp, _Val > *  c,
std::set< _Tp >  objs,
_Val  bid 
)
template<class _Tp , class _Val >
void Arbitrator::Arbitrator< _Tp, _Val >::update ( )

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines