Gin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ModDstId Struct Reference

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

#include <gin_modmatrix.h>

Public Member Functions

 ModDstId ()=default
 
 ModDstId (int id_)
 
 ModDstId (const ModDstId &other)
 
ModDstIdoperator= (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
ModMatrix, ModSrcId

Constructor & Destructor Documentation

◆ ModDstId() [1/3]

ModDstId::ModDstId ( )
default

◆ ModDstId() [2/3]

ModDstId::ModDstId ( int  id_)
explicit

◆ ModDstId() [3/3]

ModDstId::ModDstId ( const ModDstId other)

Member Function Documentation

◆ operator=()

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

◆ operator==()

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

References id.

◆ isValid()

bool ModDstId::isValid ( ) const

Member Data Documentation

◆ id

int ModDstId::id = -1

Referenced by operator==().


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