#include <AuLib/Score.h>
|
static constexpr uint32_t | end = 0 |
|
◆ Score()
◆ add_cmd()
void AuLib::Score::add_cmd |
( |
const Cmd & |
c | ) |
|
|
inline |
Add command with the following format
{ name, // string
type, // Score::Cmd::omni or !Score::Cmd::omni
msg, // uint32_t message code
len // uint32_t number of data items (doubles) in cmd
}
Scores are required to define the termination command:
{name, Score::Cmd::omni, Score::end, 0},
where name is a user-defined name (std::string) for the command
◆ clear()
void AuLib::Score::clear |
( |
| ) |
|
|
inline |
◆ read() [1/3]
void AuLib::Score::read |
( |
std::ifstream & |
input | ) |
|
|
inline |
read file stream with commands
◆ read() [2/3]
void AuLib::Score::read |
( |
std::string & |
input | ) |
|
|
inline |
read string with commands
◆ read() [3/3]
void AuLib::Score::read |
( |
std::istream & |
input | ) |
|
|
inline |
read stream with commands
◆ score()
const std::list<Event>& AuLib::Score::score |
( |
| ) |
const |
|
inline |
◆ end
constexpr uint32_t AuLib::Score::end = 0 |
|
static |
The documentation for this class was generated from the following file: