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::TechTypeplannedTech
int lastFrameCheck

Constructor & Destructor Documentation


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:

Here is the call graph for this function:

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

Here is the call graph for this function:

void TechManager::update ( void  ) [virtual]

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

Here is the call graph for this function:


Member Data Documentation


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