#include <instancelib.h>
Public Types | |
typedef InstanceMap::iterator | iterator |
typedef MemberCaller < InstanceSet,&InstanceSet::transformChanged > | TransformChangedCaller |
typedef MemberCaller < InstanceSet,&InstanceSet::boundsChanged > | BoundsChangedCaller |
Public Member Functions | |
~InstanceSet () | |
iterator | begin () |
iterator | end () |
void | insert (scene::Node &child) |
void | erase (scene::Node &child) |
void | forEachInstance (const scene::Instantiable::Visitor &visitor) |
void | insert (scene::Instantiable::Observer *observer, const scene::Path &path, scene::Instance *instance) |
scene::Instance * | erase (scene::Instantiable::Observer *observer, const scene::Path &path) |
void | transformChanged () |
void | boundsChanged () |
Private Types | |
typedef std::pair < scene::Instantiable::Observer *, PathConstReference > | CachePath |
typedef CachePath | key_type |
typedef std::map< key_type, scene::Instance * > | InstanceMap |
Private Attributes | |
InstanceMap | m_instances |
Definition at line 90 of file instancelib.h.
typedef MemberCaller<InstanceSet, &InstanceSet::boundsChanged> InstanceSet::BoundsChangedCaller |
Definition at line 166 of file instancelib.h.
typedef std::pair<scene::Instantiable::Observer*, PathConstReference> InstanceSet::CachePath [private] |
Definition at line 92 of file instancelib.h.
typedef std::map<key_type, scene::Instance*> InstanceSet::InstanceMap [private] |
Definition at line 96 of file instancelib.h.
typedef InstanceMap::iterator InstanceSet::iterator |
Definition at line 100 of file instancelib.h.
typedef CachePath InstanceSet::key_type [private] |
Definition at line 94 of file instancelib.h.
typedef MemberCaller<InstanceSet, &InstanceSet::transformChanged> InstanceSet::TransformChangedCaller |
Definition at line 159 of file instancelib.h.
InstanceSet::~InstanceSet | ( | ) | [inline] |
Definition at line 102 of file instancelib.h.
iterator InstanceSet::begin | ( | ) | [inline] |
Definition at line 105 of file instancelib.h.
References m_instances.
Referenced by erase(), forEachInstance(), insert(), and InstanceSet_forEach().
void InstanceSet::boundsChanged | ( | ) | [inline] |
Definition at line 160 of file instancelib.h.
References i, and m_instances.
iterator InstanceSet::end | ( | ) | [inline] |
Definition at line 109 of file instancelib.h.
References m_instances.
Referenced by erase(), forEachInstance(), insert(), and InstanceSet_forEach().
scene::Instance* InstanceSet::erase | ( | scene::Instantiable::Observer * | observer, | |
const scene::Path & | path | |||
) | [inline] |
Definition at line 144 of file instancelib.h.
References i, and m_instances.
void InstanceSet::erase | ( | scene::Node & | child | ) | [inline] |
Definition at line 122 of file instancelib.h.
References begin(), end(), and i.
Referenced by MapRoot::erase().
void InstanceSet::forEachInstance | ( | const scene::Instantiable::Visitor & | visitor | ) | [inline] |
Definition at line 131 of file instancelib.h.
References begin(), end(), and i.
Referenced by MapRoot::forEachInstance().
void InstanceSet::insert | ( | scene::Instantiable::Observer * | observer, | |
const scene::Path & | path, | |||
scene::Instance * | instance | |||
) | [inline] |
Definition at line 138 of file instancelib.h.
References m_instances.
void InstanceSet::insert | ( | scene::Node & | child | ) | [inline] |
Definition at line 115 of file instancelib.h.
References begin(), end(), and i.
Referenced by MapRoot::insert().
void InstanceSet::transformChanged | ( | ) | [inline] |
Definition at line 153 of file instancelib.h.
References i, and m_instances.
InstanceMap InstanceSet::m_instances [private] |
Definition at line 97 of file instancelib.h.
Referenced by begin(), boundsChanged(), end(), erase(), insert(), and transformChanged().