Class ObjectData

Inheritance Relationships

Base Type

Derived Types

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

Protected Attributes

std::vector<Ptr> mDependencies
bool mZombie