Skip to main content

TimeFrame

TimeFrame

#include <TimeFrame.hpp>

Public Functions

Name
TimeFrame() =default
TimeFrame(std::vector< int > const & times)
int getTotalFrameCount() const
ClockTicks getTimeAtIndex(TimeFrameIndex index) const
TimeFrameIndex getIndexAtTime(ClockTicks time, bool preceding =true) const
int checkFrameInbounds(int frame_id) const

Public Functions Documentation

function TimeFrame

TimeFrame() =default

function TimeFrame

explicit TimeFrame(
    std::vector< int > const & times
)

function getTotalFrameCount

inline int getTotalFrameCount() const

function getTimeAtIndex

ClockTicks getTimeAtIndex(
    TimeFrameIndex index
) const

function getIndexAtTime

TimeFrameIndex getIndexAtTime(
    ClockTicks time,
    bool preceding =true
) const

function checkFrameInbounds

int checkFrameInbounds(
    int frame_id
) const

Updated on 2026-11-13 at 20:25:39 +0000