SingletonModel Class Reference

#include <model.h>

Collaboration diagram for SingletonModel:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 SingletonModel ()
void attach (scene::Traversable::Observer *observer)
void detach (scene::Traversable::Observer *observer)
scene::Traversable & getTraversable ()
void modelChanged (const std::string &value)
scene::Node * getNode () const

Private Attributes

TraversableNode m_traverse
EModel m_model

Detailed Description

Definition at line 85 of file model.h.


Member Typedef Documentation

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

Definition at line 113 of file model.h.


Constructor & Destructor Documentation

SingletonModel::SingletonModel (  )  [inline]

Definition at line 90 of file model.h.


Member Function Documentation

void SingletonModel::attach ( scene::Traversable::Observer *  observer  )  [inline]

Definition at line 95 of file model.h.

References m_traverse.

void SingletonModel::detach ( scene::Traversable::Observer *  observer  )  [inline]

Definition at line 99 of file model.h.

References m_traverse.

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

Definition at line 115 of file model.h.

References EModel::getNode(), and m_model.

scene::Traversable& SingletonModel::getTraversable (  )  [inline]

Definition at line 104 of file model.h.

References m_traverse.

void SingletonModel::modelChanged ( const std::string value  )  [inline]

Definition at line 109 of file model.h.

References m_model, and EModel::modelChanged().


Field Documentation

Definition at line 88 of file model.h.

Referenced by getNode(), and modelChanged().

TraversableNode SingletonModel::m_traverse [private]

Definition at line 87 of file model.h.

Referenced by attach(), detach(), and getTraversable().


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

Generated by  doxygen 1.6.2