Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DProfilerNode Class Reference

Inherits U4DEngine::U4DEntityNode< U4DProfilerNode >.

Public Member Functions

 U4DProfilerNode (std::string uNodeName)
 
void startProfiling ()
 
void stopProfiling ()
 
float getTotalTime ()
 
std::string getName ()
 
- Public Member Functions inherited from U4DEngine::U4DEntityNode< U4DProfilerNode >
 U4DEntityNode ()
 Constructor for the class.
 
 U4DEntityNode (std::string uNodeName)
 
 ~U4DEntityNode ()
 Destructor for the class.
 
void addChild (U4DProfilerNode *uChild)
 Method which adds a child node to a scenegraph. More...
 
void addChild (U4DProfilerNode *uChild, U4DProfilerNode *uNext)
 
void addChild (U4DProfilerNode *uChild, int uZDepth)
 Method which adds a child entity to a scenegraph at a particular location. More...
 
void removeChild (U4DProfilerNode *uChild)
 Method which removes a child node from the scenegraph. More...
 
void changeLastDescendant (U4DProfilerNode *uNewLastDescendant)
 Method which changes the node's last descendant in the scenegraph. More...
 
U4DProfilerNode * getFirstChild ()
 Method which returns the node's first child in the scenegraph. More...
 
U4DProfilerNode * getLastChild ()
 Method which returns the node's last child in the scenegraph. More...
 
U4DProfilerNode * getNextSibling ()
 Method which returns the node's next sibling in the scenegraph. More...
 
U4DProfilerNode * getPrevSibling ()
 Method which returns the node's previous sibling in the scenegraph. More...
 
U4DProfilerNode * prevInPreOrderTraversal ()
 Method which returns the node's previous sibling in pre-order traversal order. More...
 
U4DProfilerNode * nextInPreOrderTraversal ()
 Method which returns the node's next pointer in pre-order traversal order. More...
 
bool isLeaf ()
 Method which returns true if the node represents a leaf node in the scenegraph. More...
 
bool isRoot ()
 Method which returns true if the node represents a root node in the scenegraph. More...
 
U4DProfilerNode * getParent ()
 Gets the parent to the entity. More...
 
U4DProfilerNode * getRootParent ()
 Gets the root parent (top parent in the scenegraph) of the entity. More...
 
U4DProfilerNode * searchChild (std::string uName)
 

Additional Inherited Members

- Public Attributes inherited from U4DEngine::U4DEntityNode< U4DProfilerNode >
U4DProfilerNode * parent
 Tree parent pointer.
 
U4DProfilerNode * prevSibling
 Tree previous sibling pointer.
 
U4DProfilerNode * next
 Tree next pointer.
 
U4DProfilerNode * lastDescendant
 Tree last descendant pointer.