Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
engine::Object Class Reference

#include <Object.h>

Inheritance diagram for engine::Object:
engine::EngineManager engine::Log engine::LogManager engine::Plugin engine::PluginManager input::Cursor input::InputDevice input::InputManager physics::Joint physics::PhysicsManager platform::PlatformManager render::RenderManager render::RenderTarget render::Viewport resource::Resource resource::ResourceManager scene::Node scene::SceneManager script::ScriptManager sound::SoundManager

List of all members.

Public Member Functions

void addDependency (Object *object)
 Adds an object to the Object dependency list.
const u32getID () const
 Returns the id of the object.
const std::string & getName () const
const ObjectTypegetObjectType () const
 Gets object type.
void initialize ()
 Initialize object.
bool isInitialized () const
 Returns true if the Object has been initialized.
 Object (const std::string &name)
 Object ()
void removeAllDependencies ()
void removeDependency (Object *object)
void setName (const std::string &name)
void uninitialize ()
 Uninitialize object.
void update (f32 elapsedTime)
 ~Object ()

Protected Member Functions

virtual void initializeImpl ()
virtual void uninitializeImpl ()
virtual void updateImpl (f32 elapsedTime)

Protected Attributes

bool mChangeableName
std::map< u32, Object * > mDependencyObjects
u32 mID
bool mIsInitialized
std::string mName
ObjectType mObjectType

Static Protected Attributes

static u32 mIndexCounter = 0
static u32 msNextGeneratedObjectIndex = 0
 Incremented count for next object index.

Constructor & Destructor Documentation

engine::Object::Object ( )
engine::Object::Object ( const std::string &  name)
engine::Object::~Object ( )

Member Function Documentation

void engine::Object::addDependency ( Object object)
const u32 & engine::Object::getID ( ) const

Returns the id of the object.

References mID.

Referenced by scene::Node::addChild(), scene::SceneManager::addNode(), physics::PhysicsManager::createBody(), render::RenderManager::createCamera(), scene::Node::createChild(), render::RenderManager::createFont(), input::InputManager::createInputDevice(), physics::PhysicsManager::createJoint(), render::RenderManager::createLight(), sound::SoundManager::createListener(), engine::LogManager::createLog(), physics::PhysicsManager::createMaterial(), render::RenderManager::createModel(), scene::SceneManager::createNode(), render::RenderManager::createPanelOverlay(), engine::PluginManager::createPlugin(), render::RenderManager::createRenderable(), render::RenderManager::createRenderWindow(), resource::ResourceManager::createResource(), scene::SceneManager::createScene(), script::ScriptManager::createScript(), render::RenderManager::createShader(), sound::SoundManager::createSound(), render::RenderManager::createTextOverlay(), render::RenderTarget::createViewport(), render::RenderManager::findVisibleRenderables(), engine::PluginManager::loadPlugin(), resource::ResourceManager::loadResource(), engine::LogManager::pushLog(), engine::PluginManager::reloadPlugin(), resource::ResourceManager::reloadResource(), scene::Scene::removeAllNodes(), physics::PhysicsManager::removeBody(), render::RenderManager::removeCamera(), scene::Node::removeChild(), removeDependency(), render::RenderManager::removeFont(), input::InputManager::removeInputDevice(), physics::PhysicsManager::removeJoint(), render::RenderManager::removeLight(), sound::SoundManager::removeListener(), engine::LogManager::removeLog(), render::RenderManager::removeModel(), scene::SceneManager::removeNode(), render::RenderManager::removeOverlay(), render::RenderManager::removeRenderable(), resource::ResourceManager::removeResource(), scene::SceneManager::removeScene(), script::ScriptManager::removeScript(), render::RenderManager::removeShader(), sound::SoundManager::removeSound(), render::RenderTarget::removeViewport(), render::RenderManager::render(), engine::PluginManager::unloadPlugin(), and resource::ResourceManager::unloadResource().

const std::string & engine::Object::getName ( ) const
const ObjectType & engine::Object::getObjectType ( ) const

Gets object type.

References mObjectType.

void engine::Object::initialize ( )
void engine::Object::initializeImpl ( ) [protected, virtual]
bool engine::Object::isInitialized ( ) const

Returns true if the Object has been initialized.

References mIsInitialized.

void engine::Object::removeAllDependencies ( )

References mDependencyObjects.

Referenced by ~Object().

void engine::Object::removeDependency ( Object object)
void engine::Object::setName ( const std::string &  name)

References mChangeableName, and mName.

void engine::Object::uninitialize ( )
void engine::Object::uninitializeImpl ( ) [protected, virtual]
void engine::Object::update ( f32  elapsedTime)
void engine::Object::updateImpl ( f32  elapsedTime) [protected, virtual]

Member Data Documentation

u32 engine::Object::mID [protected]
u32 engine::Object::mIndexCounter = 0 [static, protected]

Referenced by Object().

std::string engine::Object::mName [protected]

Incremented count for next object index.

Referenced by Object().


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

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:07 by Doxygen (1.7.4)