Gin
Loading...
Searching...
No Matches
ModDstId Struct Reference

Identifier for a modulation destination in the ModMatrix system. More...

#include <gin_imodmatrix.h>

Public Member Functions

 ModDstId ()=default
 ModDstId (int id_)
 ModDstId (const ModDstId &other)
ModDstId & operator= (const ModDstId &other)
bool operator== (const ModDstId &other) const
bool isValid () const

Public Attributes

int id = -1

Detailed Description

Identifier for a modulation destination in the ModMatrix system.

Wraps an integer ID with type safety to distinguish modulation destinations (parameters that can be modulated) from other identifiers. Use isValid() to check if the ID represents a valid modulation destination.

See also
IModMatrix, ModSrcId

Constructor & Destructor Documentation

◆ ModDstId() [1/3]

ModDstId::ModDstId ( )
default

Referenced by ModDstId(), operator=(), and operator==().

◆ ModDstId() [2/3]

ModDstId::ModDstId ( int id_)
explicit

References id.

◆ ModDstId() [3/3]

ModDstId::ModDstId ( const ModDstId & other)

References id, and ModDstId().

Member Function Documentation

◆ operator=()

ModDstId & ModDstId::operator= ( const ModDstId & other)

References id, and ModDstId().

◆ operator==()

bool ModDstId::operator== ( const ModDstId & other) const

References id, and ModDstId().

◆ isValid()

bool ModDstId::isValid ( ) const

Member Data Documentation

◆ id

int ModDstId::id = -1

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