VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtRangeRingsManager Class Reference

The Master DtRangeRingsManager. More...

Inheritance diagram for makVrf::DtRangeRingsManager:
Inheritance graph
[legend]

Public Member Functions

 DtRangeRingsManager (makVrv::DtDe &)
virtual ~DtRangeRingsManager ()
virtual void loadDefaults (bool fromFactory=false)
 Loads default or factory record.
virtual void saveAsDefaults ()
 Saves record as default record.
const
makVrv::DtRecordSettingsBackupInterface
settingsBackup () const
makVrv::DtRecordSettingsBackupInterfacesettingsBackup ()
void exportSettings (const std::string &fileName)
 Exports the current cache settings to a file.
void importSettings (const std::string &fileName)
 Import the current cache settings from a file.
void setAutoSave (bool b)
bool autoSave () const
virtual void getRecord (DtRangeRingsSettingsRecord &rec) const
virtual void setFromRecord (const DtRangeRingsSettingsRecord &rec)
virtual void getSplitRecord (std::vector< DtRangeRingsSettingsRecord > &rec, std::vector< std::string > &fileNames)
 To support writing element definitions in folders as multiple files not implemented.
virtual void addRecords (DtRangeRingsSettingsRecord &recs, DtRangeRingsSettingsRecord &combinedRec)
 To support writing element definitions in folders as multiple files not implemented.
virtual void setFill2D (bool b)
virtual bool fill2D () const
virtual void setShowRangeSphere (bool onOff)
virtual bool showRangeSphere () const
virtual void setShowWeaponNameLabel (bool)
virtual bool showWeaponNameLabel () const
virtual void setShowEntityNameLabel (bool)
virtual bool showEntityNameLabel () const
virtual void setShowRangeValueLabel (bool)
virtual bool showRangeValueLabel () const
virtual void setShowByDefault (bool)
virtual bool showByDefault () const
virtual void setShowForSelected (bool)
virtual bool showForSelected () const
virtual void setShowPhysicalFootprint (bool)
virtual bool showPhysicalFootprint () const
virtual void setSphereOpacityModifier (double)
virtual double sphereOpacityModifier () const
virtual const
DtRangeRingsSettingsRecord::ColorOptions
colorOptions () const
virtual
DtRangeRingsSettingsRecord::ColorOption 
colorOption (const std::string &) const
virtual void setColorOptions (const DtRangeRingsSettingsRecord::ColorOptions &)
virtual bool getColor (const std::string &type, int force, float &r, float &g, float &b, float &a, makVrv::DtUnicode &) const
virtual void setColor (const std::string &type, int color, const makVrv::DtUnicode &)
virtual void setVisible (const std::string &type, bool)
virtual bool visible (const std::string &type) const
virtual void setAttackAnimationForRingEnabled (const std::string &, bool)
 Attack animations are not currently stored as part of permanent record and and only be enabled/disabled in code.
virtual bool attackAnimationForRingEnabled (const std::string &) const
virtual void removeColorOption (const std::string &type)
virtual bool wasRequested (const std::string &) const
virtual void addColorOptionIfMissing (const std::string &option, int color, const makVrv::DtUnicode &label, bool visible=true)
 If color option is not there, add it.
virtual makVrv::DtUnicode labelForType (const std::string &) const
virtual std::string sectorSizeProperty () const
virtual void setSectorSizeProperty (const std::string &)
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtRangeRingsManagerinstance (makVrv::DtDe &de)
 Returns instance of the messager.
static void registerInstance (makVrv::DtDe &, DtRangeRingsManager *)

Protected Member Functions

virtual void completeSetup ()

Protected Attributes

makVrv::DtDemyDe
makVrv::DtRecordSettingsBackupInterfacemySettingsBackup

Detailed Description

The Master DtRangeRingsManager.

Constructor & Destructor Documentation

makVrf::DtRangeRingsManager::DtRangeRingsManager ( makVrv::DtDe )
virtual makVrf::DtRangeRingsManager::~DtRangeRingsManager ( )
virtual

Member Function Documentation

static DtRangeRingsManager& makVrf::DtRangeRingsManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

static void makVrf::DtRangeRingsManager::registerInstance ( makVrv::DtDe ,
DtRangeRingsManager  
)
static
virtual void makVrf::DtRangeRingsManager::loadDefaults ( bool  fromFactory = false)
virtual

Loads default or factory record.

virtual void makVrf::DtRangeRingsManager::saveAsDefaults ( )
virtual

Saves record as default record.

const makVrv::DtRecordSettingsBackupInterface* makVrf::DtRangeRingsManager::settingsBackup ( ) const
inline
makVrv::DtRecordSettingsBackupInterface* makVrf::DtRangeRingsManager::settingsBackup ( )
inline
void makVrf::DtRangeRingsManager::exportSettings ( const std::string &  fileName)

Exports the current cache settings to a file.

void makVrf::DtRangeRingsManager::importSettings ( const std::string &  fileName)

Import the current cache settings from a file.

void makVrf::DtRangeRingsManager::setAutoSave ( bool  b)
bool makVrf::DtRangeRingsManager::autoSave ( ) const
virtual void makVrf::DtRangeRingsManager::getRecord ( DtRangeRingsSettingsRecord rec) const
virtual
virtual void makVrf::DtRangeRingsManager::setFromRecord ( const DtRangeRingsSettingsRecord rec)
virtual
virtual void makVrf::DtRangeRingsManager::getSplitRecord ( std::vector< DtRangeRingsSettingsRecord > &  rec,
std::vector< std::string > &  fileNames 
)
inlinevirtual

To support writing element definitions in folders as multiple files not implemented.

virtual void makVrf::DtRangeRingsManager::addRecords ( DtRangeRingsSettingsRecord recs,
DtRangeRingsSettingsRecord combinedRec 
)
inlinevirtual

To support writing element definitions in folders as multiple files not implemented.

virtual void makVrf::DtRangeRingsManager::setFill2D ( bool  b)
virtual
virtual bool makVrf::DtRangeRingsManager::fill2D ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowRangeSphere ( bool  onOff)
virtual
virtual bool makVrf::DtRangeRingsManager::showRangeSphere ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowWeaponNameLabel ( bool  )
virtual
virtual bool makVrf::DtRangeRingsManager::showWeaponNameLabel ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowEntityNameLabel ( bool  )
virtual
virtual bool makVrf::DtRangeRingsManager::showEntityNameLabel ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowRangeValueLabel ( bool  )
virtual
virtual bool makVrf::DtRangeRingsManager::showRangeValueLabel ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowByDefault ( bool  )
virtual
virtual bool makVrf::DtRangeRingsManager::showByDefault ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowForSelected ( bool  )
virtual
virtual bool makVrf::DtRangeRingsManager::showForSelected ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setShowPhysicalFootprint ( bool  )
virtual
virtual bool makVrf::DtRangeRingsManager::showPhysicalFootprint ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setSphereOpacityModifier ( double  )
virtual
virtual double makVrf::DtRangeRingsManager::sphereOpacityModifier ( ) const
virtual
virtual const DtRangeRingsSettingsRecord::ColorOptions& makVrf::DtRangeRingsManager::colorOptions ( ) const
virtual
virtual DtRangeRingsSettingsRecord::ColorOption makVrf::DtRangeRingsManager::colorOption ( const std::string &  ) const
virtual
virtual void makVrf::DtRangeRingsManager::setColorOptions ( const DtRangeRingsSettingsRecord::ColorOptions )
virtual
virtual bool makVrf::DtRangeRingsManager::getColor ( const std::string &  type,
int  force,
float &  r,
float &  g,
float &  b,
float &  a,
makVrv::DtUnicode  
) const
virtual
virtual void makVrf::DtRangeRingsManager::setColor ( const std::string &  type,
int  color,
const makVrv::DtUnicode  
)
virtual
virtual void makVrf::DtRangeRingsManager::setVisible ( const std::string &  type,
bool   
)
virtual
virtual bool makVrf::DtRangeRingsManager::visible ( const std::string &  type) const
virtual
virtual void makVrf::DtRangeRingsManager::setAttackAnimationForRingEnabled ( const std::string &  ,
bool   
)
virtual

Attack animations are not currently stored as part of permanent record and and only be enabled/disabled in code.

virtual bool makVrf::DtRangeRingsManager::attackAnimationForRingEnabled ( const std::string &  ) const
virtual
virtual void makVrf::DtRangeRingsManager::removeColorOption ( const std::string &  type)
virtual
virtual bool makVrf::DtRangeRingsManager::wasRequested ( const std::string &  ) const
virtual
virtual void makVrf::DtRangeRingsManager::addColorOptionIfMissing ( const std::string &  option,
int  color,
const makVrv::DtUnicode label,
bool  visible = true 
)
virtual

If color option is not there, add it.

virtual makVrv::DtUnicode makVrf::DtRangeRingsManager::labelForType ( const std::string &  ) const
virtual
virtual std::string makVrf::DtRangeRingsManager::sectorSizeProperty ( ) const
virtual
virtual void makVrf::DtRangeRingsManager::setSectorSizeProperty ( const std::string &  )
virtual
virtual void makVrf::DtRangeRingsManager::completeSetup ( )
protectedvirtual

Member Data Documentation

makVrv::DtDe& makVrf::DtRangeRingsManager::myDe
protected
makVrv::DtRecordSettingsBackupInterface* makVrf::DtRangeRingsManager::mySettingsBackup
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)