raylib-cpp
C++ object-oriented wrapper library for raylib.
Loading...
Searching...
No Matches
Public Member Functions | 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)
 
 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)
 
unsigned int GetCapacity () const
 Retrieves the capacity value for the object. More...
 
unsigned int GetCount () const
 Retrieves the count value for the object. More...
 
AutomationEvent * GetEvents () const
 Retrieves the events value for the object. More...
 
bool IsReady ()
 
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
 
AutomationEventListoperator= (const ::AutomationEventList &other)
 
AutomationEventListoperator= (const AutomationEventList &)=delete
 
void Play (int index)
 
void Set ()
 
void SetBaseFrame (int frame)
 
void StartRecording ()
 
void StopRecording ()
 
void Unload ()
 Update audio stream buffers with data. More...
 

Protected Member Functions

void set (const ::AutomationEventList &other)
 

Detailed Description

AutomationEventList management functions.

Definition at line 14 of file AutomationEventList.hpp.

Constructor & Destructor Documentation

◆ AutomationEventList() [1/6]

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

Definition at line 16 of file AutomationEventList.hpp.

◆ AutomationEventList() [2/6]

raylib::AutomationEventList::AutomationEventList ( )
inline

Load an empty automation events list.

Definition at line 23 of file AutomationEventList.hpp.

◆ AutomationEventList() [3/6]

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

Definition at line 27 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 37 of file AutomationEventList.hpp.

References Load().

◆ AutomationEventList() [5/6]

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

Definition at line 40 of file AutomationEventList.hpp.

◆ AutomationEventList() [6/6]

raylib::AutomationEventList::AutomationEventList ( AutomationEventList &&  other)
inline

Definition at line 46 of file AutomationEventList.hpp.

◆ ~AutomationEventList()

raylib::AutomationEventList::~AutomationEventList ( )
inline

Definition at line 54 of file AutomationEventList.hpp.

Member Function Documentation

◆ Export() [1/2]

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

Definition at line 134 of file AutomationEventList.hpp.

◆ Export() [2/2]

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

Definition at line 138 of file AutomationEventList.hpp.

◆ GetCapacity()

unsigned int raylib::AutomationEventList::GetCapacity ( ) const
inline

Retrieves the capacity value for the object.

Returns
The capacity value of the object.

Definition at line 58 of file AutomationEventList.hpp.

◆ GetCount()

unsigned int raylib::AutomationEventList::GetCount ( ) const
inline

Retrieves the count value for the object.

Returns
The count value of the object.

Definition at line 59 of file AutomationEventList.hpp.

◆ GetEvents()

AutomationEvent * raylib::AutomationEventList::GetEvents ( ) const
inline

Retrieves the events value for the object.

Returns
The events value of the object.

Definition at line 60 of file AutomationEventList.hpp.

◆ IsReady()

bool raylib::AutomationEventList::IsReady ( )
inline

Definition at line 130 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 89 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 102 of file AutomationEventList.hpp.

References Unload().

◆ operator=() [1/2]

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

Definition at line 69 of file AutomationEventList.hpp.

◆ operator=() [2/2]

AutomationEventList & raylib::AutomationEventList::operator= ( const ::AutomationEventList &  other)
inline

Definition at line 62 of file AutomationEventList.hpp.

◆ Play()

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

Definition at line 161 of file AutomationEventList.hpp.

◆ Set()

void raylib::AutomationEventList::Set ( )
inline

Definition at line 142 of file AutomationEventList.hpp.

◆ set()

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

Definition at line 171 of file AutomationEventList.hpp.

◆ SetBaseFrame()

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

Definition at line 146 of file AutomationEventList.hpp.

◆ StartRecording()

void raylib::AutomationEventList::StartRecording ( )
inline

Definition at line 151 of file AutomationEventList.hpp.

◆ StopRecording()

void raylib::AutomationEventList::StopRecording ( )
inline

Definition at line 156 of file AutomationEventList.hpp.

◆ Unload()

void raylib::AutomationEventList::Unload ( )
inline

Update audio stream buffers with data.

Definition at line 113 of file AutomationEventList.hpp.

Referenced by Load().