XJ music engine  1.9.6
In-game runtime engine for XJ music.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
XJ::ProgramVoice Class Reference

#include <ProgramVoice.h>

Inheritance diagram for XJ::ProgramVoice:
XJ::ContentEntity

Public Member Functions

 ProgramVoice ()=default
 
- Public Member Functions inherited from XJ::ContentEntity
 ContentEntity ()=default
 

Static Public Member Functions

static std::set< std::string > getNames (const std::set< const ProgramVoice * > &voices)
 

Public Attributes

UUID programId
 
Instrument::Type type {Instrument::Type::Drum}
 
std::string name
 
float order {}
 
- Public Attributes inherited from XJ::ContentEntity
UUID id
 

Constructor & Destructor Documentation

◆ ProgramVoice()

XJ::ProgramVoice::ProgramVoice ( )
default

Member Function Documentation

◆ getNames()

std::set< std::string > XJ::ProgramVoice::getNames ( const std::set< const ProgramVoice * > &  voices)
static

Get the names of a set of voices

Parameters
voicesfor which to get names
Returns
a set of names

Member Data Documentation

◆ name

std::string XJ::ProgramVoice::name

◆ order

float XJ::ProgramVoice::order {}

◆ programId

UUID XJ::ProgramVoice::programId

◆ type

Instrument::Type XJ::ProgramVoice::type {Instrument::Type::Drum}

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