raylib-cpp
C++ object-oriented wrapper library for raylib.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
raylib::AutomationEventList Class Reference

AutomationEventList management functions. More...

#include <AutomationEventList.hpp>

Public Member Functions

 AutomationEventList ()
 Load an empty automation events list. More...
 
 AutomationEventList (AutomationEventList &&other) noexcept
 
 AutomationEventList (const ::AutomationEventList &automationEventList)
 
 AutomationEventList (const AutomationEventList &)=delete
 
 AutomationEventList (const char *fileName)
 Load automation events list from file. More...
 
 AutomationEventList (const std::string_view fileName)
 
 AutomationEventList (unsigned int capacity=16384, std::span< AutomationEvent > events={})
 
bool Export (const char *fileName)
 
bool Export (const std::string_view fileName)
 
count GETTER (AutomationEvent *, Events, events) AutomationEventList &operator
 
 GETTER (unsigned int, Capacity, capacity) GETTER(unsigned int
 
bool IsValid ()
 
void Load (const char *fileName)
 Load audio stream (to stream raw audio pcm data) More...
 
void Load (const std::string_view fileName)
 Load audio stream (to stream raw audio pcm data) More...
 
AutomationEventListoperator= (AutomationEventList &&other) noexcept
 
void Play (int index)
 
void Set ()
 
void SetBaseFrame (int frame)
 
void StartRecording ()
 
void StopRecording ()
 
void Unload ()
 Update audio stream buffers with data. More...
 

Public Attributes

 Count
 

Protected Member Functions

void set (const ::AutomationEventList &other)
 

Detailed Description

AutomationEventList management functions.

Definition at line 12 of file AutomationEventList.hpp.

Constructor & Destructor Documentation

◆ AutomationEventList() [1/6]

raylib::AutomationEventList::AutomationEventList ( const ::AutomationEventList &  automationEventList)
inline

Definition at line 14 of file AutomationEventList.hpp.

◆ AutomationEventList() [2/6]

raylib::AutomationEventList::AutomationEventList ( )
inline

Load an empty automation events list.

Definition at line 22 of file AutomationEventList.hpp.

◆ AutomationEventList() [3/6]

raylib::AutomationEventList::AutomationEventList ( unsigned int  capacity = 16384,
std::span< AutomationEvent >  events = {} 
)
inline

Definition at line 24 of file AutomationEventList.hpp.

◆ AutomationEventList() [4/6]

raylib::AutomationEventList::AutomationEventList ( const char *  fileName)
inline

Load automation events list from file.

Parameters
fileNameThe file path to load the automation events list from.

Definition at line 34 of file AutomationEventList.hpp.

References Load().

◆ AutomationEventList() [5/6]

raylib::AutomationEventList::AutomationEventList ( const std::string_view  fileName)
inline

Definition at line 37 of file AutomationEventList.hpp.

◆ AutomationEventList() [6/6]

raylib::AutomationEventList::AutomationEventList ( AutomationEventList &&  other)
inlinenoexcept

Definition at line 43 of file AutomationEventList.hpp.

◆ ~AutomationEventList()

raylib::AutomationEventList::~AutomationEventList ( )
inline

Definition at line 51 of file AutomationEventList.hpp.

Member Function Documentation

◆ Export() [1/2]

bool raylib::AutomationEventList::Export ( const char *  fileName)
inline

Definition at line 127 of file AutomationEventList.hpp.

◆ Export() [2/2]

bool raylib::AutomationEventList::Export ( const std::string_view  fileName)
inline

Definition at line 129 of file AutomationEventList.hpp.

◆ IsValid()

bool raylib::AutomationEventList::IsValid ( )
inline

Definition at line 125 of file AutomationEventList.hpp.

◆ Load() [1/2]

void raylib::AutomationEventList::Load ( const char *  fileName)
inline

Load audio stream (to stream raw audio pcm data)

Exceptions
raylib::RaylibExceptionThrows if the AutomationEventList failed to load.

Definition at line 84 of file AutomationEventList.hpp.

References Unload().

Referenced by AutomationEventList().

◆ Load() [2/2]

void raylib::AutomationEventList::Load ( const std::string_view  fileName)
inline

Load audio stream (to stream raw audio pcm data)

Exceptions
raylib::RaylibExceptionThrows if the AutomationEventList failed to load.

Definition at line 97 of file AutomationEventList.hpp.

References Unload().

◆ operator=()

AutomationEventList & raylib::AutomationEventList::operator= ( AutomationEventList &&  other)
inlinenoexcept

Definition at line 64 of file AutomationEventList.hpp.

◆ Play()

void raylib::AutomationEventList::Play ( int  index)
inline

Definition at line 152 of file AutomationEventList.hpp.

◆ Set()

void raylib::AutomationEventList::Set ( )
inline

Definition at line 133 of file AutomationEventList.hpp.

◆ set()

void raylib::AutomationEventList::set ( const ::AutomationEventList &  other)
inlineprotected

Definition at line 161 of file AutomationEventList.hpp.

◆ SetBaseFrame()

void raylib::AutomationEventList::SetBaseFrame ( int  frame)
inline

Definition at line 137 of file AutomationEventList.hpp.

◆ StartRecording()

void raylib::AutomationEventList::StartRecording ( )
inline

Definition at line 142 of file AutomationEventList.hpp.

◆ StopRecording()

void raylib::AutomationEventList::StopRecording ( )
inline

Definition at line 147 of file AutomationEventList.hpp.

◆ Unload()

void raylib::AutomationEventList::Unload ( )
inline

Update audio stream buffers with data.

Definition at line 108 of file AutomationEventList.hpp.

Referenced by Load().

Member Data Documentation

◆ Count

raylib::AutomationEventList::Count

Definition at line 54 of file AutomationEventList.hpp.