Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

kerosin::MaterialServer Class Reference

#include <materialserver.h>

Inheritance diagram for kerosin::MaterialServer:

Inheritance graph
[legend]
Collaboration diagram for kerosin::MaterialServer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MaterialServer ()
virtual ~MaterialServer ()
boost::shared_ptr< MaterialGetMaterial (const std::string &name)
 returns a cached material

Protected Member Functions

virtual void OnLink ()
 This method is called, when the hierarchy object has been linked to a parent.

Detailed Description

Definition at line 32 of file materialserver.h.


Constructor & Destructor Documentation

MaterialServer::MaterialServer  ) 
 

Definition at line 32 of file materialserver.cpp.

MaterialServer::~MaterialServer  )  [virtual]
 

Definition at line 36 of file materialserver.cpp.


Member Function Documentation

shared_ptr< Material > MaterialServer::GetMaterial const std::string &  name  ) 
 

returns a cached material

Definition at line 40 of file materialserver.cpp.

References zeitgeist::Node::GetChild(), and zeitgeist::Object::GetLog().

Here is the call graph for this function:

void MaterialServer::OnLink  )  [protected, virtual]
 

This method is called, when the hierarchy object has been linked to a parent.

At that point, traversal can commence. It can be overridden to support custom 'link' behavior.

Reimplemented from zeitgeist::Leaf.

Definition at line 54 of file materialserver.cpp.

References zeitgeist::Node::AddChildReference(), and zeitgeist::Object::GetCore().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 15:43:11 2006 for rcssserver3d by  doxygen 1.4.4