BWAPI
Public Member Functions | Public Attributes
TechManager Class Reference

#include <TechManager.h>

Inheritance diagram for TechManager:
Inheritance graph
[legend]
Collaboration diagram for TechManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TechManager (Arbitrator::Arbitrator< BWAPI::Unit *, double > *arbitrator)
void setBuildingPlacer (BuildingPlacer *placer)
virtual void onOffer (std::set< BWAPI::Unit * > units)
virtual void onRevoke (BWAPI::Unit *unit, double bid)
virtual void update ()
virtual std::string getName () const
void onRemoveUnit (BWAPI::Unit *unit)
bool research (BWAPI::TechType type)
bool planned (BWAPI::TechType type) const

Public Attributes

Arbitrator::Arbitrator
< BWAPI::Unit *, double > * 
arbitrator
BuildingPlacerplacer
std::map< BWAPI::UnitType,
std::list< BWAPI::TechType > > 
researchQueues
std::map< BWAPI::Unit
*, BWAPI::TechType > 
researchingUnits
std::set< BWAPI::TechType > plannedTech

Constructor & Destructor Documentation

TechManager::TechManager ( Arbitrator::Arbitrator< BWAPI::Unit *, double > *  arbitrator)

Member Function Documentation

std::string TechManager::getName ( ) const [virtual]
void TechManager::onOffer ( std::set< BWAPI::Unit * >  units) [virtual]

Implements Arbitrator::Controller< BWAPI::Unit *, double >.

Here is the call graph for this function:

void TechManager::onRemoveUnit ( BWAPI::Unit *  unit)

Here is the caller graph for this function:

void TechManager::onRevoke ( BWAPI::Unit *  unit,
double  bid 
) [virtual]

Implements Arbitrator::Controller< BWAPI::Unit *, double >.

Here is the call graph for this function:

bool TechManager::planned ( BWAPI::TechType  type) const
bool TechManager::research ( BWAPI::TechType  type)
void TechManager::update ( ) [virtual]

Implements Arbitrator::Controller< BWAPI::Unit *, double >.

Here is the call graph for this function:


Member Data Documentation

std::set<BWAPI::TechType> TechManager::plannedTech
std::map<BWAPI::Unit*,BWAPI::TechType> TechManager::researchingUnits
std::map<BWAPI::UnitType,std::list<BWAPI::TechType> > TechManager::researchQueues

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