deDynamicSkin Class Reference

Dynamic Skin. More...

#include <deDynamicSkin.h>

Inheritance diagram for deDynamicSkin:
deResource deObject

List of all members.

Public Member Functions

Constructors and Destructors
 deDynamicSkin (deDynamicSkinManager *manager)
 Creates a new resource.
virtual ~deDynamicSkin ()
 Cleans up the resource.
Management
int GetRenderableCount () const
 Retrieves the number of renderables.
deDSRenderableGetRenderableAt (int index) const
 Retrieves the renderable at the given index.
deDSRenderableGetRenderableNamed (const char *name) const
 Retrieves the renderable with the given name or NULL if not found.
bool HasRenderable (deDSRenderable *renderable) const
 Determines if a renderable exists.
bool HasRenderableNamed (const char *name) const
 Determines if a renderable with the given name exists.
int IndexOfRenderable (deDSRenderable *renderable) const
 Retrieves the index of the renderable or -1 if not found.
int IndexOfRenderableNamed (const char *name) const
 Retrieves the index of the renderable with the given name or -1 if not found.
void AddRenderable (deDSRenderable *renderable)
 Adds a renderable.
void RemoveRenderable (deDSRenderable *renderable)
 Removes a renderable.
void RemoveRenderableNamed (const char *name)
 Removes a renderable with the given name if existing.
void RemoveAllRenderables ()
 Removes all renderables.
void NotifyRenderableChanged (int index)
 Notifies the peer that the given renderable changed.
System Peers
deBaseGraphicDynamicSkinGetGraphicPeer () const
 Retrieves the graphic system peer object.
void SetGraphicPeer (deBaseGraphicDynamicSkin *peer)
 Sets the graphic system peer object.

Detailed Description

Dynamic Skin.

Defines dynamic properties of a skin resource.

Author:
Plüss Roland
Version:
1.0
Date:
2009

Constructor & Destructor Documentation

deDynamicSkin::deDynamicSkin ( deDynamicSkinManager manager )

Creates a new resource.

virtual deDynamicSkin::~deDynamicSkin (  ) [virtual]

Cleans up the resource.


Member Function Documentation

void deDynamicSkin::AddRenderable ( deDSRenderable renderable )

Adds a renderable.

deBaseGraphicDynamicSkin* deDynamicSkin::GetGraphicPeer (  ) const [inline]

Retrieves the graphic system peer object.

deDSRenderable* deDynamicSkin::GetRenderableAt ( int  index ) const

Retrieves the renderable at the given index.

int deDynamicSkin::GetRenderableCount (  ) const [inline]

Retrieves the number of renderables.

deDSRenderable* deDynamicSkin::GetRenderableNamed ( const char *  name ) const

Retrieves the renderable with the given name or NULL if not found.

bool deDynamicSkin::HasRenderable ( deDSRenderable renderable ) const

Determines if a renderable exists.

bool deDynamicSkin::HasRenderableNamed ( const char *  name ) const

Determines if a renderable with the given name exists.

int deDynamicSkin::IndexOfRenderable ( deDSRenderable renderable ) const

Retrieves the index of the renderable or -1 if not found.

int deDynamicSkin::IndexOfRenderableNamed ( const char *  name ) const

Retrieves the index of the renderable with the given name or -1 if not found.

void deDynamicSkin::NotifyRenderableChanged ( int  index )

Notifies the peer that the given renderable changed.

void deDynamicSkin::RemoveAllRenderables (  )

Removes all renderables.

void deDynamicSkin::RemoveRenderable ( deDSRenderable renderable )

Removes a renderable.

void deDynamicSkin::RemoveRenderableNamed ( const char *  name )

Removes a renderable with the given name if existing.

void deDynamicSkin::SetGraphicPeer ( deBaseGraphicDynamicSkin peer )

Sets the graphic system peer object.


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