iso::space::SpaceObjectsAnalyzeManager Class Reference

space objects analyze manager More...

#include <iso_space_objects_analyze_manager.h>

Collaboration diagram for iso::space::SpaceObjectsAnalyzeManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

SpaceObjectsAnalyzeranalyzer (const base::String &pAnalyzerName)
 return space objects analyzer
bool checkAnalyzer (const base::String &pAnalyzerName)
 check if space objects analyzer exists
void addAnalyzer (SpaceObjectsAnalyzer *pAnalyzer)
 add space objects analyzer to space objects analyzer manager
void removeAnalyzer (const base::String &pAnalyzerName)
 remove space objects analyzer
void addObjectGroup (const base::String &pAnalyzerName, const base::String &pGroupName)
 add space object group
void removeObjectGroup (const base::String &pAnalyzerName, unsigned int pGroupIndex)
 remove space object group
void removeObjectGroup (const base::String &pAnalyzerName, const base::String &pGroupName)
 remove space object group
void addObject (const base::String &pAnalyzerName, unsigned int pGroupIndex, const SpaceObject *pSpaceObject)
 add space object
void addObject (const base::String &pAnalyzerName, const base::String &pGroupName, const SpaceObject *pSpaceObject)
 add space object
void addObject (const base::String &pAnalyzerName, unsigned int pGroupIndex, const NeighborGroup *pNeighborGroup)
 add space object
void addObject (const base::String &pAnalyzerName, const base::String &pGroupName, const NeighborGroup *pNeighborGroup)
 add space object
void removeObject (const base::String &pAnalyzerName, unsigned int pGroupIndex, const SpaceObject *pSpaceObject)
 remove space object
void removeObject (const base::String &pAnalyzerName, const base::String &pGroupName, const SpaceObject *pSpaceObject)
 remove space object
void removeObject (const base::String &pAnalyzerName, unsigned int pGroupIndex, const NeighborGroup *pNeighborGroup)
 remove space object
void removeObject (const base::String &pAnalyzerName, const base::String &pGroupName, const NeighborGroup *pNeighborGroup)
 remove space object
void removeObjects (const base::String &pAnalyzerName, unsigned int pGroupIndex)
 remove space objects
void removeObjects (const base::String &pAnalyzerName, const base::String &pGroupName)
 remove space objects
const math::Vector< real > & result (const base::String &pAnalyzerName, unsigned int pResultIndex) const
 return analysis result
const math::Vector< real > & result (const base::String &pAnalyzerName, const base::String &pResultName) const
 return analysis result
const data::IndexHash< base::String,
math::Vector< real > > & 
results (const base::String &pAnalyzerName) const
 return analysis results
void update ()
 update all space objects analyzers
void analyze ()
 update all space objects analyzers
virtual base::String info (int pPropagationLevel=0) const
 print data analyzer manager information

Static Public Member Functions

static SpaceObjectsAnalyzeManagerget ()
 get singleton instance
static void destroy ()
 destroy singleton instance

Static Public Attributes

static const base::String sClassName

Protected Member Functions

 SpaceObjectsAnalyzeManager ()
 default constructor
 ~SpaceObjectsAnalyzeManager ()
 destructor

Protected Attributes

data::IndexHash< base::String,
SpaceObjectsAnalyzer
mAnalyzers
 spaces

Static Protected Attributes

static SpaceObjectsAnalyzeManagersSpaceObjectsAnalyzeManager
 singleton instance

Friends

std::ostream & operator<< (std::ostream &pOstream, const SpaceObjectsAnalyzeManager &pAnalyzeManager)
 retrieve textual space objects analyzer manager info

Detailed Description

space objects analyze manager

analyze manager

Created by Daniel Bisig on 6/4/08.


Constructor & Destructor Documentation

SpaceObjectsAnalyzeManager::SpaceObjectsAnalyzeManager (  )  [protected]

default constructor

SpaceObjectsAnalyzeManager::~SpaceObjectsAnalyzeManager (  )  [protected]

destructor


Member Function Documentation

SpaceObjectsAnalyzeManager & SpaceObjectsAnalyzeManager::get (  )  [static]

get singleton instance

Returns:
space object analyze manager

void SpaceObjectsAnalyzeManager::destroy (  )  [static]

destroy singleton instance

SpaceObjectsAnalyzer & SpaceObjectsAnalyzeManager::analyzer ( const base::String &  pAnalyzerName  ) 

return space objects analyzer

Parameters:
pAnalyzerName space objects analyzer name
Remarks:
fails if space object analyzer doesn't exist

bool SpaceObjectsAnalyzeManager::checkAnalyzer ( const base::String &  pAnalyzerName  ) 

check if space objects analyzer exists

Parameters:
pAnalyzerName space objects analyzer name
Returns:
true if space objects analyzer exists, false otherwise

void SpaceObjectsAnalyzeManager::addAnalyzer ( SpaceObjectsAnalyzer pAnalyzer  ) 

add space objects analyzer to space objects analyzer manager

Parameters:
pAnalyzer space objects analyzer
Remarks:
fails if space objects analyzer already exists

void SpaceObjectsAnalyzeManager::removeAnalyzer ( const base::String &  pAnalyzerName  ) 

remove space objects analyzer

Parameters:
pAnalyzerName name of space objects analyzer
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::addObjectGroup ( const base::String &  pAnalyzerName,
const base::String &  pGroupName 
)

add space object group

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space object group name
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObjectGroup ( const base::String &  pAnalyzerName,
unsigned int  pGroupIndex 
)

remove space object group

Parameters:
pAnalyzerName name of space objects analyzer
pGroupIndex space object group index
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObjectGroup ( const base::String &  pAnalyzerName,
const base::String &  pGroupName 
)

remove space object group

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space object group name
Remarks:
fails if space object analyzer does not exist

void SpaceObjectsAnalyzeManager::addObject ( const base::String &  pAnalyzerName,
unsigned int  pGroupIndex,
const SpaceObject pSpaceObject 
)

add space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupIndex space object group index
pSpaceObject space object
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::addObject ( const base::String &  pAnalyzerName,
const base::String &  pGroupName,
const SpaceObject pSpaceObject 
)

add space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space object group name
pSpaceObject space object
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::addObject ( const base::String &  pAnalyzerName,
unsigned int  pGroupIndex,
const NeighborGroup pNeighborGroup 
)

add space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupIndex space object group index
pNeighborGroup neighbor group
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::addObject ( const base::String &  pAnalyzerName,
const base::String &  pGroupName,
const NeighborGroup pNeighborGroup 
)

add space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space object group name
pNeighborGroup neighbor group
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObject ( const base::String &  pAnalyzerName,
unsigned int  pGroupIndex,
const SpaceObject pSpaceObject 
)

remove space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupIndex space object group index
pSpaceObject space object
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObject ( const base::String &  pAnalyzerName,
const base::String &  pGroupName,
const SpaceObject pSpaceObject 
)

remove space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space object group name
pSpaceObject space object
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObject ( const base::String &  pAnalyzerName,
unsigned int  pGroupIndex,
const NeighborGroup pNeighborGroup 
)

remove space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupIndex space object group index
pNeighborGroup neighbor group
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObject ( const base::String &  pAnalyzerName,
const base::String &  pGroupName,
const NeighborGroup pNeighborGroup 
)

remove space object

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space object group name
pNeighborGroup neighbor group
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObjects ( const base::String &  pAnalyzerName,
unsigned int  pGroupIndex 
)

remove space objects

Parameters:
pAnalyzerName name of space objects analyzer
pGroupIndex space object group index
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::removeObjects ( const base::String &  pAnalyzerName,
const base::String &  pGroupName 
)

remove space objects

Parameters:
pAnalyzerName name of space objects analyzer
pGroupName space data group name
Remarks:
fails if space objects analyzer does not exist

const math::Vector< space::real > & SpaceObjectsAnalyzeManager::result ( const base::String &  pAnalyzerName,
unsigned int  pResultIndex 
) const

return analysis result

Parameters:
pAnalyzerName name of space objects analyzer
pResultIndex result index
Returns:
result as vector
Remarks:
fails if space objects analyzer does not exist

const math::Vector< space::real > & SpaceObjectsAnalyzeManager::result ( const base::String &  pAnalyzerName,
const base::String &  pResultName 
) const

return analysis result

Parameters:
pAnalyzerName name of space objects analyzer
pResultName result name
Returns:
result as vector
Remarks:
fails if space objects analyzer does not exist

const data::IndexHash< base::String, math::Vector< space::real > > & SpaceObjectsAnalyzeManager::results ( const base::String &  pAnalyzerName  )  const

return analysis results

Parameters:
pAnalyzerName name of space objects analyzer
Returns:
IndexHash of all vector results
Remarks:
fails if space objects analyzer does not exist

void SpaceObjectsAnalyzeManager::update (  ) 

update all space objects analyzers

void SpaceObjectsAnalyzeManager::analyze (  ) 

update all space objects analyzers

base::String SpaceObjectsAnalyzeManager::info ( int  pPropagationLevel = 0  )  const [virtual]

print data analyzer manager information

Parameters:
pPropagationLevel how far the propagation method proceeds through composite classes (-1: unlimited, 0: no proceeding, >0: limited proceeding)


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOstream,
const SpaceObjectsAnalyzeManager pAnalyzeManager 
) [friend]

retrieve textual space objects analyzer manager info

Parameters:
pOstream output text stream
pAnalyzeManager space objects analyze manager


Member Data Documentation

const base::String SpaceObjectsAnalyzeManager::sClassName [static]

SpaceObjectsAnalyzeManager * SpaceObjectsAnalyzeManager::sSpaceObjectsAnalyzeManager [static, protected]

singleton instance

data::IndexHash<base::String, SpaceObjectsAnalyzer> iso::space::SpaceObjectsAnalyzeManager::mAnalyzers [protected]

spaces


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:08:15 2011 for iso_space by  doxygen 1.5.1