Class ObjectData
Defined in File data-manager.h
Inheritance Relationships
Base Type
public gpa::capture_support::IVisitable
(Struct IVisitable)
Derived Types
public gpa::capture_support::MappedObjectData
(Class MappedObjectData)public gpa::playback::ID3D11InputLayoutCreateInfo
(Struct ID3D11InputLayoutCreateInfo)public gpa::playback::ID3D11ShaderCreateInfo
(Struct ID3D11ShaderCreateInfo)public gpa::playback::ObjectReplacementKeyData
(Struct ObjectReplacementKeyData)public gpa::playback::repeat::RangeRepeatCache
(Class RangeRepeatCache)
Class Documentation
-
class ObjectData : public gpa::capture_support::IVisitable
Base class for custom object data for use in DataManager.
Subclassed by gpa::capture_support::MappedObjectData, gpa::playback::ID3D11InputLayoutCreateInfo, gpa::playback::ID3D11ShaderCreateInfo, gpa::playback::ObjectReplacementKeyData, gpa::playback::repeat::RangeRepeatCache
Public Types
-
typedef std::shared_ptr<ObjectData> Ptr
Public Functions
-
ObjectData()
-
~ObjectData()
-
virtual void PostVisit() override
-
virtual bool IsMappedObjectData() const
-
virtual bool IsZombie() const
-
virtual void MakeZombie()
-
void AddDependency(Ptr objectData)
Add a dependency on another ObjectData.
Creation of the object (A) which this ObjectData represents, may have a hard dependency on the existence of another object (B), which is represented by the objectData parameter. (for instance, creation of (B) takes
Note
This is used primarily (or exclusively) for stream keyframing
- Parameters
objectData -- Strong reference to the ObjectData dependency
-
typedef std::shared_ptr<ObjectData> Ptr