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

#include <event.h>

Inheritance diagram for Ms::NPlayEvent:
Inheritance graph
[legend]
Collaboration diagram for Ms::NPlayEvent:
Collaboration graph
[legend]

Public Member Functions

 NPlayEvent ()
 
 NPlayEvent (uchar t, uchar c, uchar a, uchar b)
 
 NPlayEvent (const MidiCoreEvent &e)
 
 NPlayEvent (BeatType beatType)
 
const Notenote () const
 
void setNote (const Note *v)
 
int getOriginatingStaff () const
 
void setOriginatingStaff (int i)
 
void setDiscard (int d)
 
int discard () const
 
bool isMuted () const
 
- Public Member Functions inherited from Ms::PlayEvent
 PlayEvent ()
 
 PlayEvent (const MidiCoreEvent &e)
 
 PlayEvent (uchar t, uchar c, uchar a, uchar b)
 
float tuning () const
 
void setTuning (float v)
 
- Public Member Functions inherited from Ms::MidiCoreEvent
 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
 

Private Attributes

const Note_note = 0
 
int _origin = -1
 
int _discard = 0
 

Additional Inherited Members

- Protected Attributes inherited from Ms::PlayEvent
float _tuning = .0f
 
- Protected Attributes inherited from Ms::MidiCoreEvent
uchar _type = 0
 
uchar _channel = 0
 
uchar _a = 0
 
uchar _b = 0
 

Constructor & Destructor Documentation

◆ NPlayEvent() [1/4]

Ms::NPlayEvent::NPlayEvent ( )
inline

◆ NPlayEvent() [2/4]

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

◆ NPlayEvent() [3/4]

Ms::NPlayEvent::NPlayEvent ( const MidiCoreEvent e)
inline

◆ NPlayEvent() [4/4]

Ms::NPlayEvent::NPlayEvent ( BeatType  beatType)

Member Function Documentation

◆ discard()

int Ms::NPlayEvent::discard ( ) const
inline

◆ getOriginatingStaff()

int Ms::NPlayEvent::getOriginatingStaff ( ) const
inline

◆ isMuted()

bool Ms::NPlayEvent::isMuted ( ) const

◆ note()

const Note* Ms::NPlayEvent::note ( ) const
inline

◆ setDiscard()

void Ms::NPlayEvent::setDiscard ( int  d)
inline

◆ setNote()

void Ms::NPlayEvent::setNote ( const Note v)
inline

◆ setOriginatingStaff()

void Ms::NPlayEvent::setOriginatingStaff ( int  i)
inline

Member Data Documentation

◆ _discard

int Ms::NPlayEvent::_discard = 0
private

◆ _note

const Note* Ms::NPlayEvent::_note = 0
private

◆ _origin

int Ms::NPlayEvent::_origin = -1
private

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