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...
 
U4DProfilerNodegetFirstChild ()
 Method which returns the node's first child in the scenegraph. More...
 
U4DProfilerNodegetLastChild ()
 Method which returns the node's last child in the scenegraph. More...
 
U4DProfilerNodegetNextSibling ()
 Method which returns the node's next sibling in the scenegraph. More...
 
U4DProfilerNodegetPrevSibling ()
 Method which returns the node's previous sibling in the scenegraph. More...
 
U4DProfilerNodeprevInPreOrderTraversal ()
 Method which returns the node's previous sibling in pre-order traversal order. More...
 
U4DProfilerNodenextInPreOrderTraversal ()
 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...
 
U4DProfilerNodegetParent ()
 Gets the parent to the entity. More...
 
U4DProfilerNodegetRootParent ()
 Gets the root parent (top parent in the scenegraph) of the entity. More...
 
U4DProfilerNodesearchChild (std::string uName)
 

Additional Inherited Members

- Public Attributes inherited from U4DEngine::U4DEntityNode< U4DProfilerNode >
U4DProfilerNodeparent
 Tree parent pointer.
 
U4DProfilerNodeprevSibling
 Tree previous sibling pointer.
 
U4DProfilerNodenext
 Tree next pointer.
 
U4DProfilerNodelastDescendant
 Tree last descendant pointer.