|
Gin
|
Identifier for a modulation source in the ModMatrix system. More...
#include <gin_imodmatrix.h>
Public Member Functions | |
| ModSrcId ()=default | |
| ModSrcId (int id_) | |
| ModSrcId (const ModSrcId &other) | |
| ModSrcId & | operator= (const ModSrcId &other) |
| bool | operator== (const ModSrcId &other) const |
| bool | isValid () const |
Public Attributes | |
| int | id = -1 |
Identifier for a modulation source in the ModMatrix system.
Wraps an integer ID with type safety to distinguish modulation sources from other identifiers in the system. Use isValid() to check if the ID represents a valid modulation source.
|
default |
Referenced by ModSrcId(), operator=(), and operator==().
|
explicit |
References id.
| ModSrcId::ModSrcId | ( | const ModSrcId & | other | ) |
References id, and ModSrcId().
References id, and ModSrcId().
| bool ModSrcId::operator== | ( | const ModSrcId & | other | ) | const |
References id, and ModSrcId().
| bool ModSrcId::isValid | ( | ) | const |
| int ModSrcId::id = -1 |
Referenced by ModMatrix::getModSrcBipolar(), ModMatrix::getModSrcName(), ModMatrix::getModSrcPoly(), ModSrcId(), ModSrcId(), operator=(), and operator==().