Advanced Strategic Command
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ServiceChecker Class Referenceabstract

#include <servicing.h>

Inheritance diagram for ServiceChecker:
Inheritance graph
[legend]

Public Member Functions

 ServiceChecker (ContainerBase *src, int skipChecks=0)
 
void check (ContainerBase *dest)
 
virtual ~ServiceChecker ()
 

Static Public Attributes

static const int ignoreHeight = 1
 
static const int ignoreDistance = 2
 

Protected Member Functions

const SingleWeapongetServiceWeapon ()
 
virtual void ammo (ContainerBase *dest, int type)=0
 
virtual void resource (ContainerBase *dest, int type, bool active)=0
 
virtual void repair (ContainerBase *dest)=0
 

Protected Attributes

ContainerBasesource
 
int ignoreChecks
 

Detailed Description

Definition at line 96 of file servicing.h.

Constructor & Destructor Documentation

ServiceChecker::ServiceChecker ( ContainerBase src,
int  skipChecks = 0 
)

Definition at line 602 of file servicing.cpp.

virtual ServiceChecker::~ServiceChecker ( )
inlinevirtual

Definition at line 116 of file servicing.h.

Member Function Documentation

virtual void ServiceChecker::ammo ( ContainerBase dest,
int  type 
)
protectedpure virtual

Implemented in TransferHandler, and ServiceTargetSearcher.

Referenced by check().

void ServiceChecker::check ( ContainerBase dest)
const SingleWeapon * ServiceChecker::getServiceWeapon ( )
protected
virtual void ServiceChecker::repair ( ContainerBase dest)
protectedpure virtual

Implemented in TransferHandler, and ServiceTargetSearcher.

Referenced by check().

virtual void ServiceChecker::resource ( ContainerBase dest,
int  type,
bool  active 
)
protectedpure virtual

Implemented in TransferHandler, and ServiceTargetSearcher.

Referenced by check().

Member Data Documentation

int ServiceChecker::ignoreChecks
protected

Definition at line 99 of file servicing.h.

Referenced by check().

const int ServiceChecker::ignoreDistance = 2
static

Definition at line 111 of file servicing.h.

const int ServiceChecker::ignoreHeight = 1
static

Definition at line 110 of file servicing.h.

ContainerBase* ServiceChecker::source
protected

The documentation for this class was generated from the following files: