Skip to content

Struct gme::signal::FadeCommand

ClassList > gme > signal > FadeCommand

Command record produced from a parsed OSC fade message. More...

  • #include <FadeCommand.h>

Public Types

Type Name
enum Type
The four command variants carried on the OSC transport.

Public Attributes

Type Name
nlohmann::json curve_params
Pass-through; interpreted by CurveFactory.
std::string curve_type
e.g. "linear", "sigmoid", "bezier".
float duration_ms = 0.0f
Fade duration in ms.
float end_value = 0.0f
End gain (0.0–1.0).
std::string motion_id
Caller-assigned unique id. Empty for CANCEL_ALL.
std::string node_name
Target node name. Required for all commands.
std::string osc_host
Usually "127.0.0.1".
std::string osc_path
e.g. "/volmaster" or "/videocomposer/layer/3/opacity".
int osc_port = 0
AudioPlayer port or 7000 (VideoComposer).
float partner_end_value = 0.0f
std::string partner_motion_id
std::string partner_osc_path
float partner_start_value = 0.0f
long start_mtc_ms = -1
Absolute MTC start time. -1 = "start at current MTC".
float start_value = 0.0f
Start gain (0.0–1.0).
Type type = Type::START\_FADE

Detailed Description

Plain aggregate struct. Zero invariants beyond the field defaults. Default construction produces a well-formed "empty" command that the parser will overwrite before enqueuing.

Public Types Documentation

enum Type

The four command variants carried on the OSC transport.

enum gme::signal::FadeCommand::Type {
    START_FADE,
    CANCEL_MOTION,
    CANCEL_ALL,
    START_CROSSFADE
};

Public Attributes Documentation

variable curve_params

Pass-through; interpreted by CurveFactory.

nlohmann::json gme::signal::FadeCommand::curve_params;

variable curve_type

e.g. "linear", "sigmoid", "bezier".

std::string gme::signal::FadeCommand::curve_type;

variable duration_ms

Fade duration in ms.

float gme::signal::FadeCommand::duration_ms;

variable end_value

End gain (0.0–1.0).

float gme::signal::FadeCommand::end_value;

variable motion_id

Caller-assigned unique id. Empty for CANCEL_ALL.

std::string gme::signal::FadeCommand::motion_id;

variable node_name

Target node name. Required for all commands.

std::string gme::signal::FadeCommand::node_name;

variable osc_host

Usually "127.0.0.1".

std::string gme::signal::FadeCommand::osc_host;

variable osc_path

e.g. "/volmaster" or "/videocomposer/layer/3/opacity".

std::string gme::signal::FadeCommand::osc_path;

variable osc_port

AudioPlayer port or 7000 (VideoComposer).

int gme::signal::FadeCommand::osc_port;

variable partner_end_value

float gme::signal::FadeCommand::partner_end_value;

variable partner_motion_id

std::string gme::signal::FadeCommand::partner_motion_id;

variable partner_osc_path

std::string gme::signal::FadeCommand::partner_osc_path;

variable partner_start_value

float gme::signal::FadeCommand::partner_start_value;

variable start_mtc_ms

Absolute MTC start time. -1 = "start at current MTC".

long gme::signal::FadeCommand::start_mtc_ms;

variable start_value

Start gain (0.0–1.0).

float gme::signal::FadeCommand::start_value;

variable type

Type gme::signal::FadeCommand::type;


The documentation for this class was generated from the following file src/signal/FadeCommand.h