Skip to content

ludus::gameplay::sequencer::PreparedSequence

Ludus Wiki · API overview · Browse API

Class

Immutable move-only sequence revision owning copied keys, normalized rotations and base values. Preparation may allocate; sampling never allocates or advances mutable playback state. Const sampling is safe concurrently while this owner stays alive and unmoved; replacement/move/destruction requires external synchronization with its readers.

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

#include <ludus/gameplay/sequencer/sequence.hpp>
class ludus::gameplay::sequencer::PreparedSequence final

Methods

PreparedSequence

ludus::gameplay::sequencer::PreparedSequence::PreparedSequence() noexcept
Construct unprepared storage without allocation.

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

~PreparedSequence

ludus::gameplay::sequencer::PreparedSequence::~PreparedSequence() noexcept
Release the owned revision; no readers may remain.

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

PreparedSequence

ludus::gameplay::sequencer::PreparedSequence::PreparedSequence(PreparedSequence &&other) noexcept
Transfer ownership; other becomes unprepared.

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

operator=

PreparedSequence & ludus::gameplay::sequencer::PreparedSequence::operator=(PreparedSequence &&other) noexcept
Release this revision and take other's.

Related types: PreparedSequence

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

PreparedSequence

ludus::gameplay::sequencer::PreparedSequence::PreparedSequence(const PreparedSequence &)=delete
Revisions are not implicitly copied.

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

operator=

PreparedSequence & ludus::gameplay::sequencer::PreparedSequence::operator=(const PreparedSequence &)=delete
Revisions are not implicitly copied.

Related types: PreparedSequence

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

IsPrepared

bool ludus::gameplay::sequencer::PreparedSequence::IsPrepared() const noexcept
Whether an accepted revision is owned.

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

GetObjectCount

foundation::usize ludus::gameplay::sequencer::PreparedSequence::GetObjectCount() const noexcept
Object groups, or zero when unprepared.

Related types: foundation::usize

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

GetCameraCount

foundation::usize ludus::gameplay::sequencer::PreparedSequence::GetCameraCount() const noexcept
Camera groups, or zero when unprepared.

Related types: foundation::usize

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp

GetPreparedBytes

foundation::usize ludus::gameplay::sequencer::PreparedSequence::GetPreparedBytes() const noexcept
Owned payload bytes, excluding allocator metadata.

Related types: foundation::usize

Declared in modules/gameplay/sequencer/include/ludus/gameplay/sequencer/sequence.hpp