MuseScore  3.4
Music composition and notation
Public Member Functions | Protected Attributes | List of all members
Ms::MidiCoreEvent Class Reference

#include <event.h>

Inheritance diagram for Ms::MidiCoreEvent:
Inheritance graph
[legend]

Public Member Functions

 MidiCoreEvent ()
 
 MidiCoreEvent (uchar t, uchar c, uchar a, uchar b)
 
void set (uchar t, uchar c, uchar a, uchar b)
 
uchar type () const
 
void setType (uchar t)
 
uchar channel () const
 
void setChannel (uchar c)
 
int dataA () const
 
int pitch () const
 
int controller () const
 
void setDataA (int v)
 
void setPitch (int v)
 
void setController (int v)
 
int dataB () const
 
int velo () const
 
int value () const
 
void setDataB (int v)
 
void setVelo (int v)
 
void setValue (int v)
 
void setData (int a, int b)
 
void setData (int t, int a, int b)
 
bool isChannelEvent () const
 
void write (XmlWriter &) const
 
bool operator== (const MidiCoreEvent &e) const
 

Protected Attributes

uchar _type = 0
 
uchar _channel = 0
 
uchar _a = 0
 
uchar _b = 0
 

Constructor & Destructor Documentation

◆ MidiCoreEvent() [1/2]

Ms::MidiCoreEvent::MidiCoreEvent ( )
inline

◆ MidiCoreEvent() [2/2]

Ms::MidiCoreEvent::MidiCoreEvent ( uchar  t,
uchar  c,
uchar  a,
uchar  b 
)
inline

Member Function Documentation

◆ channel()

uchar Ms::MidiCoreEvent::channel ( ) const
inline

◆ controller()

int Ms::MidiCoreEvent::controller ( ) const
inline

◆ dataA()

int Ms::MidiCoreEvent::dataA ( ) const
inline

◆ dataB()

int Ms::MidiCoreEvent::dataB ( ) const
inline

◆ isChannelEvent()

bool Ms::MidiCoreEvent::isChannelEvent ( ) const

◆ operator==()

bool Ms::MidiCoreEvent::operator== ( const MidiCoreEvent e) const
inline

◆ pitch()

int Ms::MidiCoreEvent::pitch ( ) const
inline

◆ set()

void Ms::MidiCoreEvent::set ( uchar  t,
uchar  c,
uchar  a,
uchar  b 
)
inline

◆ setChannel()

void Ms::MidiCoreEvent::setChannel ( uchar  c)
inline

◆ setController()

void Ms::MidiCoreEvent::setController ( int  v)
inline

◆ setData() [1/2]

void Ms::MidiCoreEvent::setData ( int  a,
int  b 
)
inline

◆ setData() [2/2]

void Ms::MidiCoreEvent::setData ( int  t,
int  a,
int  b 
)
inline

◆ setDataA()

void Ms::MidiCoreEvent::setDataA ( int  v)
inline

◆ setDataB()

void Ms::MidiCoreEvent::setDataB ( int  v)
inline

◆ setPitch()

void Ms::MidiCoreEvent::setPitch ( int  v)
inline

◆ setType()

void Ms::MidiCoreEvent::setType ( uchar  t)
inline

◆ setValue()

void Ms::MidiCoreEvent::setValue ( int  v)
inline

◆ setVelo()

void Ms::MidiCoreEvent::setVelo ( int  v)
inline

◆ type()

uchar Ms::MidiCoreEvent::type ( ) const
inline

◆ value()

int Ms::MidiCoreEvent::value ( ) const
inline

◆ velo()

int Ms::MidiCoreEvent::velo ( ) const
inline

◆ write()

void Ms::MidiCoreEvent::write ( XmlWriter xml) const

Member Data Documentation

◆ _a

uchar Ms::MidiCoreEvent::_a = 0
protected

◆ _b

uchar Ms::MidiCoreEvent::_b = 0
protected

◆ _channel

uchar Ms::MidiCoreEvent::_channel = 0
protected

◆ _type

uchar Ms::MidiCoreEvent::_type = 0
protected

The documentation for this class was generated from the following files: