Blender V2.61 - r43446
|
#include <blender_util.h>
Public Member Functions | |
id_map (vector< T * > *scene_data_) | |
T * | find (BL::ID id) |
T * | find (const K &key) |
void | set_recalc (BL::ID id) |
bool | has_recalc () |
void | pre_sync () |
bool | sync (T **r_data, BL::ID id) |
bool | sync (T **r_data, BL::ID id, BL::ID parent, const K &key) |
void | used (T *data) |
void | set_default (T *data) |
bool | post_sync (bool do_delete=true) |
Protected Attributes | |
vector< T * > * | scene_data |
map< K, T * > | b_map |
set< T * > | used_set |
set< void * > | b_recalc |
Definition at line 198 of file blender_util.h.
Definition at line 200 of file blender_util.h.
Definition at line 205 of file blender_util.h.
Referenced by id_map< void *, Shader >::find(), and id_map< void *, Shader >::sync().
T* id_map< K, T >::find | ( | const K & | key | ) | [inline] |
Definition at line 210 of file blender_util.h.
bool id_map< K, T >::has_recalc | ( | ) | [inline] |
Definition at line 225 of file blender_util.h.
Referenced by BlenderSync::sync_recalc().
bool id_map< K, T >::post_sync | ( | bool | do_delete = true | ) | [inline] |
Definition at line 275 of file blender_util.h.
void id_map< K, T >::pre_sync | ( | ) | [inline] |
Definition at line 230 of file blender_util.h.
void id_map< K, T >::set_default | ( | T * | data | ) | [inline] |
Definition at line 270 of file blender_util.h.
Definition at line 220 of file blender_util.h.
Referenced by BlenderSync::sync_recalc().
Definition at line 235 of file blender_util.h.
Referenced by id_map< void *, Shader >::sync().
bool id_map< K, T >::sync | ( | T ** | r_data, |
BL::ID | id, | ||
BL::ID | parent, | ||
const K & | key | ||
) | [inline] |
Definition at line 240 of file blender_util.h.
void id_map< K, T >::used | ( | T * | data | ) | [inline] |
Definition at line 264 of file blender_util.h.
Referenced by id_map< void *, Shader >::sync().
Definition at line 316 of file blender_util.h.
Referenced by id_map< void *, Shader >::find(), id_map< void *, Shader >::post_sync(), id_map< void *, Shader >::set_default(), and id_map< void *, Shader >::sync().
Definition at line 318 of file blender_util.h.
Referenced by id_map< void *, Shader >::has_recalc(), id_map< void *, Shader >::post_sync(), id_map< void *, Shader >::set_recalc(), and id_map< void *, Shader >::sync().
vector<T*>* id_map< K, T >::scene_data [protected] |
Definition at line 315 of file blender_util.h.
Referenced by id_map< void *, Shader >::id_map(), id_map< void *, Shader >::post_sync(), and id_map< void *, Shader >::sync().
Definition at line 317 of file blender_util.h.
Referenced by id_map< void *, Shader >::post_sync(), id_map< void *, Shader >::pre_sync(), and id_map< void *, Shader >::used().