Blender  V3.3
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::deg::BuilderMap Class Reference

#include <deg_builder_map.h>

Public Types

enum  {
  TAG_ANIMATION = (1 << 0) , TAG_PARAMETERS = (1 << 1) , TAG_TRANSFORM = (1 << 2) , TAG_GEOMETRY = (1 << 3) ,
  TAG_SCENE_COMPOSITOR = (1 << 4) , TAG_SCENE_SEQUENCER = (1 << 5) , TAG_SCENE_AUDIO = (1 << 6) , TAG_COMPLETE
}
 

Public Member Functions

bool checkIsBuilt (ID *id, int tag=TAG_COMPLETE) const
 
void tagBuild (ID *id, int tag=TAG_COMPLETE)
 
bool checkIsBuiltAndTag (ID *id, int tag=TAG_COMPLETE)
 
template<typename T >
bool checkIsBuilt (T *datablock, int tag=TAG_COMPLETE) const
 
template<typename T >
void tagBuild (T *datablock, int tag=TAG_COMPLETE)
 
template<typename T >
bool checkIsBuiltAndTag (T *datablock, int tag=TAG_COMPLETE)
 

Protected Member Functions

int getIDTag (ID *id) const
 

Protected Attributes

Map< ID *, int > id_tags_
 

Detailed Description

Definition at line 16 of file deg_builder_map.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
TAG_ANIMATION 
TAG_PARAMETERS 
TAG_TRANSFORM 
TAG_GEOMETRY 
TAG_SCENE_COMPOSITOR 
TAG_SCENE_SEQUENCER 
TAG_SCENE_AUDIO 
TAG_COMPLETE 

Definition at line 18 of file deg_builder_map.h.

Member Function Documentation

◆ checkIsBuilt() [1/2]

bool blender::deg::BuilderMap::checkIsBuilt ( ID id,
int  tag = TAG_COMPLETE 
) const

◆ checkIsBuilt() [2/2]

template<typename T >
bool blender::deg::BuilderMap::checkIsBuilt ( T datablock,
int  tag = TAG_COMPLETE 
) const
inline

Definition at line 43 of file deg_builder_map.h.

References checkIsBuilt().

◆ checkIsBuiltAndTag() [1/2]

bool blender::deg::BuilderMap::checkIsBuiltAndTag ( ID id,
int  tag = TAG_COMPLETE 
)

Definition at line 24 of file deg_builder_map.cc.

References id_tags_, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add(), and result.

Referenced by blender::deg::DepsgraphNodeBuilder::build_action(), blender::deg::DepsgraphRelationBuilder::build_action(), blender::deg::DepsgraphNodeBuilder::build_armature(), blender::deg::DepsgraphRelationBuilder::build_armature(), blender::deg::DepsgraphNodeBuilder::build_cachefile(), blender::deg::DepsgraphRelationBuilder::build_cachefile(), blender::deg::DepsgraphNodeBuilder::build_camera(), blender::deg::DepsgraphRelationBuilder::build_camera(), blender::deg::DepsgraphNodeBuilder::build_collection(), blender::deg::DepsgraphRelationBuilder::build_collection(), blender::deg::DepsgraphNodeBuilder::build_freestyle_linestyle(), blender::deg::DepsgraphRelationBuilder::build_freestyle_linestyle(), blender::deg::DepsgraphNodeBuilder::build_generic_id(), blender::deg::DepsgraphRelationBuilder::build_generic_id(), blender::deg::DepsgraphNodeBuilder::build_image(), blender::deg::DepsgraphRelationBuilder::build_image(), blender::deg::DepsgraphNodeBuilder::build_light(), blender::deg::DepsgraphRelationBuilder::build_light(), blender::deg::DepsgraphNodeBuilder::build_lightprobe(), blender::deg::DepsgraphRelationBuilder::build_lightprobe(), blender::deg::DepsgraphNodeBuilder::build_mask(), blender::deg::DepsgraphRelationBuilder::build_mask(), blender::deg::DepsgraphNodeBuilder::build_material(), blender::deg::DepsgraphRelationBuilder::build_material(), blender::deg::DepsgraphNodeBuilder::build_movieclip(), blender::deg::DepsgraphRelationBuilder::build_movieclip(), blender::deg::DepsgraphNodeBuilder::build_nodetree(), blender::deg::DepsgraphRelationBuilder::build_nodetree(), blender::deg::DepsgraphNodeBuilder::build_object(), blender::deg::DepsgraphRelationBuilder::build_object(), blender::deg::DepsgraphNodeBuilder::build_object_data_geometry_datablock(), blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), blender::deg::DepsgraphNodeBuilder::build_particle_settings(), blender::deg::DepsgraphRelationBuilder::build_particle_settings(), blender::deg::DepsgraphNodeBuilder::build_scene_audio(), blender::deg::DepsgraphNodeBuilder::build_scene_compositor(), blender::deg::DepsgraphRelationBuilder::build_scene_compositor(), blender::deg::DepsgraphNodeBuilder::build_scene_parameters(), blender::deg::DepsgraphRelationBuilder::build_scene_parameters(), blender::deg::DepsgraphNodeBuilder::build_scene_sequencer(), blender::deg::DepsgraphRelationBuilder::build_scene_sequencer(), blender::deg::DepsgraphNodeBuilder::build_shapekeys(), blender::deg::DepsgraphRelationBuilder::build_shapekeys(), blender::deg::DepsgraphNodeBuilder::build_simulation(), blender::deg::DepsgraphRelationBuilder::build_simulation(), blender::deg::DepsgraphNodeBuilder::build_sound(), blender::deg::DepsgraphRelationBuilder::build_sound(), blender::deg::DepsgraphNodeBuilder::build_speaker(), blender::deg::DepsgraphRelationBuilder::build_speaker(), blender::deg::DepsgraphNodeBuilder::build_texture(), blender::deg::DepsgraphRelationBuilder::build_texture(), blender::deg::DepsgraphNodeBuilder::build_vfont(), blender::deg::DepsgraphRelationBuilder::build_vfont(), blender::deg::DepsgraphNodeBuilder::build_world(), blender::deg::DepsgraphRelationBuilder::build_world(), and checkIsBuiltAndTag().

◆ checkIsBuiltAndTag() [2/2]

template<typename T >
bool blender::deg::BuilderMap::checkIsBuiltAndTag ( T datablock,
int  tag = TAG_COMPLETE 
)
inline

Definition at line 51 of file deg_builder_map.h.

References checkIsBuiltAndTag().

◆ getIDTag()

int blender::deg::BuilderMap::getIDTag ( ID id) const
protected

◆ tagBuild() [1/2]

void blender::deg::BuilderMap::tagBuild ( ID id,
int  tag = TAG_COMPLETE 
)

◆ tagBuild() [2/2]

template<typename T >
void blender::deg::BuilderMap::tagBuild ( T datablock,
int  tag = TAG_COMPLETE 
)
inline

Definition at line 47 of file deg_builder_map.h.

References tagBuild().

Member Data Documentation

◆ id_tags_

Map<ID *, int> blender::deg::BuilderMap::id_tags_
protected

Definition at line 59 of file deg_builder_map.h.

Referenced by checkIsBuiltAndTag(), getIDTag(), and tagBuild().


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