TargetGroups Class Reference

#include <TargetGroups.h>

List of all members.

Public Member Functions

 TargetGroups ()
virtual ~TargetGroups ()
TargetGroupsGroupEntrygetGroup (const char *name, HeightMap *create=0)
void clearGroups ()
std::map
< std::string,
TargetGroupsGroupEntry * > & 
getGroups ()
std::list
< PlacementShadowDefinition::Entry > & 
getShadows ()

Protected Attributes

std::map
< std::string,
TargetGroupsGroupEntry * > 
groups_
std::list
< PlacementShadowDefinition::Entry
shadows_


Detailed Description

Definition at line 33 of file TargetGroups.h.


Constructor & Destructor Documentation

TargetGroups::TargetGroups (  ) 

Definition at line 26 of file TargetGroups.cpp.

TargetGroups::~TargetGroups (  )  [virtual]

Definition at line 30 of file TargetGroups.cpp.


Member Function Documentation

TargetGroupsGroupEntry * TargetGroups::getGroup ( const char *  name,
HeightMap create = 0 
)

Definition at line 48 of file TargetGroups.cpp.

References groups_.

Referenced by PlacementGroupDefinition::addToGroup(), LandscapeConditionGroupSize::fireEvent(), LandscapeSoundPositionSet::getInitCount(), LandscapeSoundPositionSet::getInitData(), TargetGroup::readMessage(), LandscapeSoundPositionGroup::setPosition(), and LandscapeSoundPositionSet::setPosition().

void TargetGroups::clearGroups (  ) 

Definition at line 34 of file TargetGroups.cpp.

References groups_.

Referenced by GroundMaps::generateObjects().

std::map<std::string, TargetGroupsGroupEntry*>& TargetGroups::getGroups (  )  [inline]

Definition at line 43 of file TargetGroups.h.

References groups_.

std::list<PlacementShadowDefinition::Entry>& TargetGroups::getShadows (  )  [inline]

Definition at line 46 of file TargetGroups.h.

References shadows_.

Referenced by PlacementObjectTarget::createObject(), PlacementObjectTank::createObject(), PlacementObjectShadow::createObject(), and GroundMaps::generateObjects().


Member Data Documentation

std::map<std::string, TargetGroupsGroupEntry*> TargetGroups::groups_ [protected]

Definition at line 49 of file TargetGroups.h.

Referenced by clearGroups(), getGroup(), and getGroups().

std::list<PlacementShadowDefinition::Entry> TargetGroups::shadows_ [protected]

Definition at line 50 of file TargetGroups.h.

Referenced by getShadows().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3