|
OpenSceneGraph
3.0.1
|

Public Types | |
| typedef std::map< std::string, double > | AttributeMap |
| typedef std::vector< AttributeMap > | AttributeMapList |
| typedef std::map< std::string, bool > | CollectMap |
Public Member Functions | |
| Stats (const std::string &name) | |
| Stats (const std::string &name, unsigned int numberOfFrames) | |
| void | setName (const std::string &name) |
| const std::string & | getName () const |
| void | allocate (unsigned int numberOfFrames) |
| unsigned int | getEarliestFrameNumber () const |
| unsigned int | getLatestFrameNumber () const |
| bool | setAttribute (unsigned int frameNumber, const std::string &attributeName, double value) |
| bool | getAttribute (unsigned int frameNumber, const std::string &attributeName, double &value) const |
| bool | getAveragedAttribute (const std::string &attributeName, double &value, bool averageInInverseSpace=false) const |
| bool | getAveragedAttribute (unsigned int startFrameNumber, unsigned int endFrameNumber, const std::string &attributeName, double &value, bool averageInInverseSpace=false) const |
| AttributeMap & | getAttributeMap (unsigned int frameNumber) |
| const AttributeMap & | getAttributeMap (unsigned int frameNumber) const |
| void | collectStats (const std::string &str, bool flag) |
| bool | collectStats (const std::string &str) const |
| void | report (std::ostream &out, const char *indent=0) const |
| void | report (std::ostream &out, unsigned int frameNumber, const char *indent=0) const |
Protected Member Functions | |
| virtual | ~Stats () |
| bool | getAttributeNoMutex (unsigned int frameNumber, const std::string &attributeName, double &value) const |
| AttributeMap & | getAttributeMapNoMutex (unsigned int frameNumber) |
| const AttributeMap & | getAttributeMapNoMutex (unsigned int frameNumber) const |
| int | getIndex (unsigned int frameNumber) const |
Protected Attributes | |
| std::string | _name |
| OpenThreads::Mutex | _mutex |
| unsigned int | _baseFrameNumber |
| unsigned int | _latestFrameNumber |
| AttributeMapList | _attributeMapList |
| AttributeMap | _invalidAttributeMap |
| CollectMap | _collectMap |
| typedef std::map<std::string, double> osg::Stats::AttributeMap |
| typedef std::vector<AttributeMap> osg::Stats::AttributeMapList |
| typedef std::map<std::string, bool> osg::Stats::CollectMap |
| osg::Stats::Stats | ( | const std::string & | name | ) |
| osg::Stats::Stats | ( | const std::string & | name, |
| unsigned int | numberOfFrames | ||
| ) |
| virtual osg::Stats::~Stats | ( | ) | [inline, protected, virtual] |
| void osg::Stats::allocate | ( | unsigned int | numberOfFrames | ) |
| void osg::Stats::collectStats | ( | const std::string & | str, |
| bool | flag | ||
| ) | [inline] |
| bool osg::Stats::collectStats | ( | const std::string & | str | ) | const [inline] |
| bool osg::Stats::getAttribute | ( | unsigned int | frameNumber, |
| const std::string & | attributeName, | ||
| double & | value | ||
| ) | const [inline] |
| AttributeMap& osg::Stats::getAttributeMap | ( | unsigned int | frameNumber | ) | [inline] |
| const AttributeMap& osg::Stats::getAttributeMap | ( | unsigned int | frameNumber | ) | const [inline] |
| AttributeMap& osg::Stats::getAttributeMapNoMutex | ( | unsigned int | frameNumber | ) | [protected] |
| const AttributeMap& osg::Stats::getAttributeMapNoMutex | ( | unsigned int | frameNumber | ) | const [protected] |
| bool osg::Stats::getAttributeNoMutex | ( | unsigned int | frameNumber, |
| const std::string & | attributeName, | ||
| double & | value | ||
| ) | const [protected] |
| bool osg::Stats::getAveragedAttribute | ( | const std::string & | attributeName, |
| double & | value, | ||
| bool | averageInInverseSpace = false |
||
| ) | const |
| bool osg::Stats::getAveragedAttribute | ( | unsigned int | startFrameNumber, |
| unsigned int | endFrameNumber, | ||
| const std::string & | attributeName, | ||
| double & | value, | ||
| bool | averageInInverseSpace = false |
||
| ) | const |
| unsigned int osg::Stats::getEarliestFrameNumber | ( | ) | const [inline] |
| int osg::Stats::getIndex | ( | unsigned int | frameNumber | ) | const [inline, protected] |
| unsigned int osg::Stats::getLatestFrameNumber | ( | ) | const [inline] |
| const std::string& osg::Stats::getName | ( | ) | const [inline] |
| void osg::Stats::report | ( | std::ostream & | out, |
| const char * | indent = 0 |
||
| ) | const |
| void osg::Stats::report | ( | std::ostream & | out, |
| unsigned int | frameNumber, | ||
| const char * | indent = 0 |
||
| ) | const |
| bool osg::Stats::setAttribute | ( | unsigned int | frameNumber, |
| const std::string & | attributeName, | ||
| double | value | ||
| ) |
| void osg::Stats::setName | ( | const std::string & | name | ) | [inline] |
AttributeMapList osg::Stats::_attributeMapList [protected] |
unsigned int osg::Stats::_baseFrameNumber [protected] |
CollectMap osg::Stats::_collectMap [protected] |
AttributeMap osg::Stats::_invalidAttributeMap [protected] |
unsigned int osg::Stats::_latestFrameNumber [protected] |
OpenThreads::Mutex osg::Stats::_mutex [mutable, protected] |
std::string osg::Stats::_name [protected] |
| Generated at Thu Sep 27 2012 17:03:02 for the OpenSceneGraph by doxygen 1.7.6.1. |