containerbase-functions.cpp File Reference

#include <algorithm>
#include <cmath>
#include "containerbase-functions.h"
#include "typen.h"
#include "containercontrols.h"
#include "resourcenet.h"
#include <iostream>
#include "tos.h"

Include dependency graph for containerbase-functions.cpp:

Go to the source code of this file.

Classes

class  GenericWorkerFactory< T, f >
class  BiResourceGenerationFactory
class  MiningStationFactory
class  AutoHarvestObjectsFactory

Functions

float getminingstationeficency (int dist)

Variables

const bool r5 = ContainerBase::registerWorkClassFactory( new BiResourceGenerationFactory, false )
const bool r1 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<MatterConverter, ContainerBaseType::MatterConverter>() )
const bool r2 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<ResourceSink, ContainerBaseType::ResourceSink> )
const bool r3 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<WindPowerplant, ContainerBaseType::WindPowerPlant> )
const bool r4 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<SolarPowerplant, ContainerBaseType::SolarPowerPlant> )
const bool r6 = ContainerBase::registerWorkClassFactory( new MiningStationFactory )
const bool r7 = ContainerBase::registerWorkClassFactory( new AutoHarvestObjectsFactory )


Function Documentation

float getminingstationeficency ( int  dist  ) 

Definition at line 254 of file containerbase-functions.cpp.

Referenced by MiningStation::testfield(), and GetMiningInfo::testfield().


Variable Documentation

const bool r1 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<MatterConverter, ContainerBaseType::MatterConverter>() ) [static]

Definition at line 80 of file containerbase-functions.cpp.

const bool r2 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<ResourceSink, ContainerBaseType::ResourceSink> ) [static]

Definition at line 81 of file containerbase-functions.cpp.

const bool r3 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<WindPowerplant, ContainerBaseType::WindPowerPlant> ) [static]

Definition at line 82 of file containerbase-functions.cpp.

const bool r4 = ContainerBase::registerWorkClassFactory( new GenericWorkerFactory<SolarPowerplant, ContainerBaseType::SolarPowerPlant> ) [static]

Definition at line 83 of file containerbase-functions.cpp.

const bool r5 = ContainerBase::registerWorkClassFactory( new BiResourceGenerationFactory, false ) [static]

Definition at line 79 of file containerbase-functions.cpp.

const bool r6 = ContainerBase::registerWorkClassFactory( new MiningStationFactory ) [static]

Definition at line 84 of file containerbase-functions.cpp.

const bool r7 = ContainerBase::registerWorkClassFactory( new AutoHarvestObjectsFactory ) [static]

Definition at line 85 of file containerbase-functions.cpp.


Generated on Mon May 21 01:33:14 2012 for Advanced Strategic Command by  doxygen 1.5.1