vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APDYNAMICART::SectorManager Class Reference

Sector Manager. More...

#include <SectorManager.h>

Public Types

typedef std::vector< SectorInfoSectorInfoList
 

Public Member Functions

void addSector (SectorPtr sector, HoopPtr hoop)
 
void removeSector (unsigned int index)
 
void setDefaultPattern (PatternPtr pattern)
 
void removeAllSectorsOnHoop (HoopPtr hoop)
 
SectorPtr getSector (unsigned int index)
 
HoopPtr getHoop (unsigned int index)
 
PatternPtr getPattern (unsigned int index)
 
unsigned int getNumSectors ()
 
const SectorInfoListgetSectorInfoList () const
 
SectorInfoListgetSectorInfoList ()
 
void load (HoopPtr hoop, int sectorsCount, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *PoANode)
 
void save (HoopPtr hoop, XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *Document, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *poaNode)
 

Static Public Member Functions

static SectorManagergetInstance ()
 

Protected Member Functions

 SectorManager ()
 

Protected Attributes

std::vector< SectorInfo_sectorInfoList
 
std::string _defaultPatternName
 

Detailed Description

Sector Manager.

Class responsible for managing adding/removing sectors

Member Typedef Documentation

Constructor & Destructor Documentation

SectorManager::SectorManager ( )
protected

Member Function Documentation

void SectorManager::addSector ( SectorPtr  sector,
HoopPtr  hoop 
)
HoopPtr SectorManager::getHoop ( unsigned int  index)
static SectorManager* APDYNAMICART::SectorManager::getInstance ( )
inlinestatic
unsigned int SectorManager::getNumSectors ( )
PatternPtr SectorManager::getPattern ( unsigned int  index)
SectorPtr SectorManager::getSector ( unsigned int  index)

Helper methods for easy access of SectorInfo items

const SectorInfoList& APDYNAMICART::SectorManager::getSectorInfoList ( ) const
inline
SectorInfoList& APDYNAMICART::SectorManager::getSectorInfoList ( )
inline
void SectorManager::load ( HoopPtr  hoop,
int  sectorsCount,
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  PoANode 
)

Saving and loading

void SectorManager::removeAllSectorsOnHoop ( HoopPtr  hoop)
void SectorManager::removeSector ( unsigned int  index)
void SectorManager::save ( HoopPtr  hoop,
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *  Document,
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  poaNode 
)
void SectorManager::setDefaultPattern ( PatternPtr  pattern)

Member Data Documentation

std::string APDYNAMICART::SectorManager::_defaultPatternName
protected
std::vector<SectorInfo> APDYNAMICART::SectorManager::_sectorInfoList
protected

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