EModel Class Reference

#include <model.h>

Collaboration diagram for EModel:
Collaboration graph
[legend]

Public Types

typedef MemberCaller1< EModel,
const std::string
&,&EModel::modelChanged > 
ModelChangedCaller

Public Member Functions

 EModel (scene::Traversable &traversable, const Callback &modelChanged)
 ~EModel ()
void realise ()
void unrealise ()
void modelChanged (const std::string &value)
const std::stringgetName () const
scene::Node * getNode () const

Private Attributes

ResourceReference m_resource
scene::Traversable & m_traverse
scene::Node * m_node
Callback m_modelChanged

Detailed Description

Definition at line 32 of file model.h.


Member Typedef Documentation

typedef MemberCaller1<EModel, const std::string&, &EModel::modelChanged> EModel::ModelChangedCaller

Definition at line 73 of file model.h.


Constructor & Destructor Documentation

EModel::EModel ( scene::Traversable &  traversable,
const Callback &  modelChanged 
) [inline]

Definition at line 40 of file model.h.

References ResourceReference::attach(), and m_resource.

EModel::~EModel (  )  [inline]

Definition at line 45 of file model.h.

References ResourceReference::detach(), and m_resource.


Member Function Documentation

const std::string& EModel::getName (  )  const [inline]

Definition at line 75 of file model.h.

References ResourceReference::getName(), and m_resource.

scene::Node* EModel::getNode (  )  const [inline]

Definition at line 79 of file model.h.

References m_node.

Referenced by SingletonModel::getNode().

void EModel::modelChanged ( const std::string value  )  [inline]
void EModel::realise (  )  [inline]
void EModel::unrealise (  )  [inline]

Definition at line 58 of file model.h.

References m_node, and m_traverse.


Field Documentation

Callback EModel::m_modelChanged [private]

Definition at line 37 of file model.h.

Referenced by modelChanged().

scene::Node* EModel::m_node [private]

Definition at line 36 of file model.h.

Referenced by getNode(), realise(), and unrealise().

Definition at line 34 of file model.h.

Referenced by EModel(), getName(), modelChanged(), realise(), and ~EModel().

scene::Traversable& EModel::m_traverse [private]

Definition at line 35 of file model.h.

Referenced by realise(), and unrealise().


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

Generated by  doxygen 1.6.2