VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Types | Protected Attributes
makVrv::DtVrlinkDetonationResultMapper Class Reference

DtVrlinkDetonationResultMapper is the specialization of the DtDetonationResultMapper templated class using DtDetonationResult for the template argument.

Public Types

typedef std::unordered_set
< std::string > 
DetonationCategorySet
 

Public Member Functions

 DtVrlinkDetonationResultMapper ()
 
virtual ~DtVrlinkDetonationResultMapper ()
 
virtual void setDefaultMappings ()
 
virtual void addMapping (DtDetonationResult detonationResult, const std::string &detonationCategory)
 
virtual void removeMapping (DtDetonationResult detonationResult)
 
virtual const std::string & detonationCategory (DtDetonationResult detonationResult) const
 
virtual const
DetonationCategorySet
detonationCategories () const
 

Static Public Attributes

static const std::string theObjectDetonationResultCategory
 
static const std::string theGroundDetonationResultCategory
 
static const std::string theAirDetonationResultCategory
 
static const std::string theWaterDetonationResultCategory
 
static const std::string theGenericDetonationResultCategory
 
static const std::string theDirtBlastDetonationResultCategory
 
static const std::string theBuildingDetonationResultCategory
 
static const std::string theUnusedDetonationResultCategory
 

Protected Types

typedef std::unordered_map
< DtDetonationResult,
std::string > 
DetonationResultMap
 

Protected Attributes

DetonationResultMap myDetonationResultMap
 
DetonationCategorySet myDetonationCategorySet
 

Member Typedef Documentation

typedef std::unordered_set<std::string> makVrv::DtVrlinkDetonationResultMapper::DetonationCategorySet

The set of all detonation categories to which results are mapped are represented in an object of this type.

typedef std::unordered_map<DtDetonationResult, std::string> makVrv::DtVrlinkDetonationResultMapper::DetonationResultMap
protected

Constructor & Destructor Documentation

makVrv::DtVrlinkDetonationResultMapper::DtVrlinkDetonationResultMapper ( )

CTOR.

virtual makVrv::DtVrlinkDetonationResultMapper::~DtVrlinkDetonationResultMapper ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtVrlinkDetonationResultMapper::setDefaultMappings ( )
virtual

Set up the default detonationResult to detonationCategory mappings for use with VR-Limk connections.

virtual void makVrv::DtVrlinkDetonationResultMapper::addMapping ( DtDetonationResult  detonationResult,
const std::string &  detonationCategory 
)
virtual

Add a mapping. If the detonationCategory has not been mapped to already, it will be added to the DtDetonationResultMapperBase's Detonation Category Set.

virtual void makVrv::DtVrlinkDetonationResultMapper::removeMapping ( DtDetonationResult  detonationResult)
virtual

Remove a mapping. If the detonationCategory is no longer mapped to to any detonation result, it will be removed from the DtDetonationResultMapperBase's Detonation Category Set.

virtual const std::string& makVrv::DtVrlinkDetonationResultMapper::detonationCategory ( DtDetonationResult  detonationResult) const
virtual

Return the detonation category mapped to the indicated detonation result.

virtual const DetonationCategorySet& makVrv::DtVrlinkDetonationResultMapper::detonationCategories ( ) const
virtual

Get the list of detonation categories to which results are mapped.

Member Data Documentation

const std::string makVrv::DtVrlinkDetonationResultMapper::theObjectDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theGroundDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theAirDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theWaterDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theGenericDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theDirtBlastDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theBuildingDetonationResultCategory
static

Strings that represent detonation categories.

const std::string makVrv::DtVrlinkDetonationResultMapper::theUnusedDetonationResultCategory
static

Strings that represent detonation categories.

DetonationResultMap makVrv::DtVrlinkDetonationResultMapper::myDetonationResultMap
protected
DetonationCategorySet makVrv::DtVrlinkDetonationResultMapper::myDetonationCategorySet
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)