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

AutomationEventList management functions. More...

Public Member Functions

 AutomationEventList ()
 Load an empty automation events list.
 
 AutomationEventList (AutomationEventList &&other)
 
 AutomationEventList (const ::AutomationEventList &automationEventList)
 
 AutomationEventList (const AutomationEventList &)=delete
 
 AutomationEventList (const char *fileName)
 Load automation events list from file. More...
 
bool Export (const char *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 IsValid ()
 
void Load (const char *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.
 

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()

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 26 of file AutomationEventList.hpp.

References Load().

Member Function Documentation

◆ 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 40 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 41 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 42 of file AutomationEventList.hpp.

◆ Load()

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 71 of file AutomationEventList.hpp.

References Unload().

Referenced by AutomationEventList().