Function gpa::playback::GetPlayableForContext

Function Documentation

IPlayable *gpa::playback::GetPlayableForContext(serialization::GPAToken const &token, memory::Allocator *allocator = nullptr)

Returns an instantiated IPlayable object of the type specified by the given context.

Parameters
  • token -- The token indicating the IPlayable type.

  • [opt] -- allocator Used to allocate the returned IPlayable.