Allolib  1.0
C++ Components For Interactive Multimedia
al::Composition Class Reference

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/ui/al_Composition.hpp>

Inheritance diagram for al::Composition:
al::osc::MessageConsumer

Public Member Functions

 Composition (std::string fileName, std::string path)
 
void play ()
 
void stop ()
 
bool playArchive (std::string archiveName)
 
std::string getName ()
 
void setSubDirectory (std::string subDir)
 
int size ()
 
const CompositionStep getStep (int index)
 
void insertStep (std::string name, float deltaTime, int index)
 
void deleteStep (int index)
 
void write ()
 
void registerBeginCallback (std::function< void(Composition *sender, void *userData)> beginCallback, void *userData=nullptr)
 
void enableBeginCallback (bool enable)
 
void registerEndCallback (std::function< void(bool finished, Composition *sender, void *userData)> endCallback, void *userData=nullptr)
 
void enableEndCallback (bool enable)
 
CompositionregisterSequencer (PresetSequencer &sequencer)
 
Compositionoperator<< (PresetSequencer &sequencer)
 

Static Public Member Functions

static bool archive (std::string compositionName, std::string path="", bool overwrite=true)
 
static bool restore (std::string compositionName, std::string path="", bool overwrite=true)
 

Protected Member Functions

virtual bool consumeMessage (osc::Message &m, std::string rootOSCPath) override
 Returns true if message was consumed by this class.
 

Detailed Description

Composition

Definition at line 65 of file al_Composition.hpp.


The documentation for this class was generated from the following file: