Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

CEntity Class Reference

Entity (ROOT) Class. More...

#include <Entity.h>

Inheritance diagram for CEntity:

CInputDevice CInputEngine CResource CKeyboard CMouse CXMLResource CAnimation CCustomFont CGUIElement CMaterial CResourceManager CTexture CFrameAnimation< TAnimation > CFrameAnimation< tRect > CBitmapFont CGUI CGUIBorder CGUIListBox CGUIStatic CGUIWindow COpenGLMaterial CAnimationManager CFontManager CMaterialManager CTextureManager COpenGLTexture List of all members.

Public Member Functions

void SetID (UINT uiID)
UINT GetID ()
void SetName (CString &strName)
CString & GetName ()
eEntityType GetEntityType ()
virtual bool PropertyChanging (const void *pvProperty, void *pvNewValue)
virtual void GetProperties (EPropList &PropList)

Protected Member Functions

void SetEntityType (eEntityType eType)
virtual bool IsOfType (eEntityType eType)

Detailed Description

Entity (ROOT) Class.

This class serves as a base class for all of it's derivatives, as well as acting as the RTTI assistant.

Definition at line 14 of file Entity.h.


Member Function Documentation

eEntityType CEntity::GetEntityType  ) 
 

Method details:

Returns:
RTTI Entity Type of this entity
Definition at line 40 of file Entity.cpp.

Referenced by CGUIButton::GetProperties(), and CGUIButton::LoadStateEvents().

UINT CEntity::GetID  ) 
 

Method details:

Returns:
Unique Identifier for this entity
Definition at line 30 of file Entity.cpp.

Referenced by CFontManager::Destroy(), CTextureManager::GetResource(), CResourceManager::GetResource(), CMaterialManager::GetResource(), CFontManager::GetResource(), CAnimationManager::GetResource(), CGUIButton::LoadButtonStates(), CTextureManager::LoadResource(), CMaterialManager::LoadResource(), CFontManager::LoadResource(), CAnimationManager::LoadResource(), CTextureManager::LoadXML(), CMaterialManager::LoadXML(), CGUIWindow::LoadXML(), CGUITabControl::LoadXML(), CGUIStatic::LoadXML(), CGUIScrollBar::LoadXML(), CGUIRadioGroup::LoadXML(), CGUIProgressBar::LoadXML(), CGUIMenuEntry::LoadXML(), CGUIListBox::LoadXML(), CGUIElement::LoadXML(), CGUIDropList::LoadXML(), CGUIBorder::LoadXML(), CFontManager::LoadXML(), CAnimationManager::LoadXML(), CGUITabControl::ProcessMessage(), and CGUIElement::SaveXML().

CString & CEntity::GetName  ) 
 

Method details:

Returns:
Name of this entity
Definition at line 20 of file Entity.cpp.

Referenced by CFontManager::Destroy(), CGUIStatic::GetProperties(), CGUIElement::GetProperties(), CGUIButton::GetProperties(), CTextureManager::GetResource(), CResourceManager::GetResource(), CMaterialManager::GetResource(), CFontManager::GetResource(), CAnimationManager::GetResource(), CGUIButton::LoadButtonStates(), CTextureManager::LoadResource(), CMaterialManager::LoadResource(), CFontManager::LoadResource(), CAnimationManager::LoadResource(), CTextureManager::LoadXML(), CMaterialManager::LoadXML(), CGUIWindow::LoadXML(), CGUIStatic::LoadXML(), CGUIScrollBar::LoadXML(), CGUIRadioGroup::LoadXML(), CGUIProgressBar::LoadXML(), CGUIMenuEntry::LoadXML(), CGUIListBox::LoadXML(), CGUIElement::LoadXML(), CGUIDropList::LoadXML(), CGUIBorder::LoadXML(), CFontManager::LoadXML(), CAnimationManager::LoadXML(), CTextureFrameAnimation::SaveFrame(), CGUIButton::SaveStateEvents(), CTextureFrameAnimation::SaveXML(), CTexture::SaveXML(), CMaterial::SaveXML(), CGUIStatic::SaveXML(), CGUIElement::SaveXML(), and CBitmapFont::SaveXML().

void CEntity::GetProperties EPropList &  PropList  )  [virtual]
 

Method details:

Parameters:
PropList - Const. reference to the property list

Reimplemented in CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CXMLResource.

Definition at line 61 of file Entity.cpp.

Referenced by CXMLResource::GetProperties().

bool CEntity::IsOfType eEntityType  eType  )  [protected, virtual]
 

Method details: This is an implementation of Custom RTTI

Reimplemented in CAnimation, CAnimationManager, CBitmapFont, CCustomFont, CFontManager, CFrameAnimation< TAnimation >, CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, CGUIWindow, CInputDevice, CInputEngine, CKeyboard, CMaterial, CMaterialManager, CMouse, COpenGLMaterial, COpenGLTexture, CResource, CResourceManager, CTexture, CTextureFrameAnimation, CTextureManager, CXMLResource, and CFrameAnimation< tRect >.

Definition at line 45 of file Entity.cpp.

Referenced by CMouse::IsOfType(), CKeyboard::IsOfType(), CInputEngine::IsOfType(), and CInputDevice::IsOfType().

bool CEntity::PropertyChanging const void *  pvProperty,
void *  pvNewValue
[virtual]
 

Method details:

Parameters:
pvProperty - Pointer to the property
pvNewValue - Pointer to the new value

Reimplemented in CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CXMLResource.

Definition at line 53 of file Entity.cpp.

Referenced by CXMLResource::PropertyChanging().

void CEntity::SetEntityType eEntityType  eType  )  [protected]
 

Method details:

Parameters:
eType - Type of this entity
Definition at line 35 of file Entity.cpp.

Referenced by CGUI::CGUI(), and CGUIElement::CGUIElement().

void CEntity::SetID UINT  uiID  ) 
 

Method details:

Parameters:
uiID - The proper Unique Identifier for this entity
Definition at line 25 of file Entity.cpp.

Referenced by CTextureManager::AddResource(), CMaterialManager::AddResource(), CFontManager::AddResource(), CAnimationManager::AddResource(), CTextureManager::LoadResource(), CMaterialManager::LoadResource(), CFontManager::LoadResource(), CAnimationManager::LoadResource(), and CXMLResource::LoadXML().

void CEntity::SetName CString &  strName  ) 
 

Method details:

Parameters:
strName - Name for this entity
Definition at line 15 of file Entity.cpp.

Referenced by CTextureManager::AddResource(), CMaterialManager::AddResource(), CFontManager::AddResource(), CAnimationManager::AddResource(), CGUIWindow::Create(), CGUITabControl::Create(), CGUIProgressBar::Create(), CTextureManager::LoadResource(), CMaterialManager::LoadResource(), CFontManager::LoadResource(), CAnimationManager::LoadResource(), and CXMLResource::LoadXML().


The documentation for this class was generated from the following files:
Generated on Sun Jul 17 21:34:29 2005 for OpenGL GUI by doxygen 1.3.8