Frontend::Utils::Effect Class Reference

Interface that handles a Target in a scene graph. More...

#include <Effect.h>

Inheritance diagram for Frontend::Utils::Effect:

Frontend::Object Frontend::Utils::SceneGraph::SimpleCollider Frontend::Utils::Simple::Simple2DEffect Frontend::Utils::Simple::Simple3DEffect Frontend::Utils::Simple::SimpleCollider List of all members.

Public Member Functions

virtual void Execute (Target *target, State *state)
virtual void Execute (Drawable *target, State *state)
virtual void Execute (Playable *target, State *state)
virtual void Execute (Light *target, State *state)
virtual void Execute (Camera *target, State *state)
virtual void Execute (Solid *target, State *state)
void AddRef ()
 Adds a reference to the object.
void Release ()
 Releases a reference on the object.
unsigned int GetRefCount ()
 Returns the number of references on the object.

Detailed Description

Interface that handles a Target in a scene graph.

Effects are used during scene graphs traversion to handle Targets that are reached. Depending on the goal with the traversion, an effect can i.e. draw drawables, play playables or detect collisions with solids.

See also:
Effect


Member Function Documentation

void Frontend::Object::AddRef  )  [inherited]
 

Adds a reference to the object.

Aqcuires an additional ownership on the object. The object will not be deleted until all owners have called Release() on it.

See also:
Release()

virtual void Frontend::Utils::Effect::Execute Solid target,
State state
[inline, virtual]
 

Reimplemented in Frontend::Utils::SceneGraph::SimpleCollider, and Frontend::Utils::Simple::SimpleCollider.

virtual void Frontend::Utils::Effect::Execute Camera target,
State state
[inline, virtual]
 

virtual void Frontend::Utils::Effect::Execute Light target,
State state
[inline, virtual]
 

virtual void Frontend::Utils::Effect::Execute Playable target,
State state
[inline, virtual]
 

virtual void Frontend::Utils::Effect::Execute Drawable target,
State state
[inline, virtual]
 

Reimplemented in Frontend::Utils::Simple::Simple2DEffect, and Frontend::Utils::Simple::Simple3DEffect.

virtual void Frontend::Utils::Effect::Execute Target target,
State state
[inline, virtual]
 

unsigned int Frontend::Object::GetRefCount  )  [inline, inherited]
 

Returns the number of references on the object.

Returns:
The number of references on the object.

void Frontend::Object::Release  )  [inherited]
 

Releases a reference on the object.

If you are an owner of an object, use this function to release it when you are done with it. The object will not be deleted until all owners have called Release() on it.


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