TexGen
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Shiny::ProfileNode Struct Reference

#include <ShinyNode.h>

Public Member Functions

void init (ProfileNode *a_parent, ProfileZone *a_zone, ProfileNodeCache *a_cache)
 
void addChild (ProfileNode *a_child)
 
void updateTree (float a_damping)
 
void destroy (void)
 
SHINY_INLINE void appendTicks (tick_t a_elapsedTicks)
 
SHINY_INLINE void beginEntry (void)
 
bool isRoot (void) const
 
bool isDummy (void) const
 
bool isEqual (const ProfileNode *a_parent, const ProfileZone *a_zone) const
 
const ProfileNodefindNextInTree (void) const
 
void clear (void)
 

Public Attributes

ProfileLastData _last
 
ProfileZonezone
 
ProfileNodeparent
 
ProfileNodenextSibling
 
ProfileNodefirstChild
 
ProfileNodelastChild
 
uint32_t childCount
 
uint32_t entryLevel
 
ProfileNodeCache_cache
 
ProfileData data
 

Static Public Attributes

static ProfileNode _dummy
 

Detailed Description

Definition at line 36 of file ShinyNode.h.

Member Function Documentation

◆ addChild()

void Shiny::ProfileNode::addChild ( ProfileNode a_child)
inline

Definition at line 74 of file ShinyNode.h.

References childCount, firstChild, lastChild, and nextSibling.

Referenced by init().

◆ appendTicks()

SHINY_INLINE void Shiny::ProfileNode::appendTicks ( tick_t  a_elapsedTicks)
inline

Definition at line 89 of file ShinyNode.h.

References _last, and Shiny::ProfileLastData::selfTicks.

Referenced by Shiny::ProfileManager::_appendTicksToCurNode().

◆ beginEntry()

SHINY_INLINE void Shiny::ProfileNode::beginEntry ( void  )
inline

◆ clear()

void Shiny::ProfileNode::clear ( void  )

◆ destroy()

void Shiny::ProfileNode::destroy ( void  )
inline

Definition at line 87 of file ShinyNode.h.

References _cache, and _dummy.

◆ findNextInTree()

const ProfileNode * Shiny::ProfileNode::findNextInTree ( void  ) const

◆ init()

void Shiny::ProfileNode::init ( ProfileNode a_parent,
ProfileZone a_zone,
ProfileNodeCache a_cache 
)
inline

Definition at line 62 of file ShinyNode.h.

References _cache, addChild(), entryLevel, parent, and zone.

◆ isDummy()

bool Shiny::ProfileNode::isDummy ( void  ) const
inline

Definition at line 93 of file ShinyNode.h.

References _dummy.

◆ isEqual()

bool Shiny::ProfileNode::isEqual ( const ProfileNode a_parent,
const ProfileZone a_zone 
) const
inline

Definition at line 95 of file ShinyNode.h.

References parent, and zone.

◆ isRoot()

bool Shiny::ProfileNode::isRoot ( void  ) const
inline

Definition at line 92 of file ShinyNode.h.

References entryLevel.

◆ updateTree()

void Shiny::ProfileNode::updateTree ( float  a_damping)

Member Data Documentation

◆ _cache

ProfileNodeCache* Shiny::ProfileNode::_cache

Definition at line 54 of file ShinyNode.h.

Referenced by destroy(), and init().

◆ _dummy

ProfileNode Shiny::ProfileNode::_dummy
static

Definition at line 58 of file ShinyNode.h.

Referenced by destroy(), isDummy(), and Shiny::ProfileManager::staticMemInBytes().

◆ _last

ProfileLastData Shiny::ProfileNode::_last

Definition at line 42 of file ShinyNode.h.

Referenced by appendTicks(), and beginEntry().

◆ childCount

uint32_t Shiny::ProfileNode::childCount

Definition at line 51 of file ShinyNode.h.

Referenced by addChild().

◆ data

ProfileData Shiny::ProfileNode::data

Definition at line 56 of file ShinyNode.h.

◆ entryLevel

uint32_t Shiny::ProfileNode::entryLevel

Definition at line 52 of file ShinyNode.h.

Referenced by init(), and isRoot().

◆ firstChild

ProfileNode* Shiny::ProfileNode::firstChild

Definition at line 48 of file ShinyNode.h.

Referenced by addChild().

◆ lastChild

ProfileNode* Shiny::ProfileNode::lastChild

Definition at line 49 of file ShinyNode.h.

Referenced by addChild().

◆ nextSibling

ProfileNode* Shiny::ProfileNode::nextSibling

Definition at line 46 of file ShinyNode.h.

Referenced by addChild().

◆ parent

ProfileNode* Shiny::ProfileNode::parent

◆ zone

ProfileZone* Shiny::ProfileNode::zone

Definition at line 44 of file ShinyNode.h.

Referenced by Shiny::ProfileManager::_uninit(), init(), and isEqual().


The documentation for this struct was generated from the following file: