jdkmidi class library documentation

Copyright © 2004 J.D. Koftinoff Software, Ltd.

Released under the GNU General Public License (GPL)




Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

jdkmidi::MIDISequencerGUIEvent Class Reference

#include <sequencer.h>

List of all members.

Public Types

enum  {
  GROUP_ALL = 0,
  GROUP_CONDUCTOR,
  GROUP_TRANSPORT,
  GROUP_TRACK
}
enum  {
  GROUP_CONDUCTOR_ALL = 0,
  GROUP_CONDUCTOR_TEMPO,
  GROUP_CONDUCTOR_TIMESIG
}
enum  {
  GROUP_TRANSPORT_ALL = 0,
  GROUP_TRANSPORT_MODE,
  GROUP_TRANSPORT_MEASURE,
  GROUP_TRANSPORT_BEAT,
  GROUP_TRANSPORT_ENDOFSONG
}
enum  {
  GROUP_TRACK_ALL = 0,
  GROUP_TRACK_NAME,
  GROUP_TRACK_PG,
  GROUP_TRACK_NOTE,
  GROUP_TRACK_VOLUME
}

Public Member Functions

 MIDISequencerGUIEvent ()
 MIDISequencerGUIEvent (unsigned long bits_)
 MIDISequencerGUIEvent (const MIDISequencerGUIEvent &e)
 MIDISequencerGUIEvent (int group, int subgroup, int item=0)
 operator unsigned long () const
void SetEvent (int group, int subgroup=0, int item=0)
int GetEventGroup () const
int GetEventSubGroup () const
int GetEventItem () const

Private Attributes

unsigned long bits


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
GROUP_ALL 
GROUP_CONDUCTOR 
GROUP_TRANSPORT 
GROUP_TRACK 

Definition at line 94 of file sequencer.h.

00095         {
00096           GROUP_ALL = 0,
00097           GROUP_CONDUCTOR,
00098           GROUP_TRANSPORT,
00099           GROUP_TRACK
00100         };

anonymous enum
 

Enumeration values:
GROUP_CONDUCTOR_ALL 
GROUP_CONDUCTOR_TEMPO 
GROUP_CONDUCTOR_TIMESIG 

Definition at line 103 of file sequencer.h.

00104         {
00105           GROUP_CONDUCTOR_ALL = 0,
00106           GROUP_CONDUCTOR_TEMPO,
00107           GROUP_CONDUCTOR_TIMESIG
00108         };

anonymous enum
 

Enumeration values:
GROUP_TRANSPORT_ALL 
GROUP_TRANSPORT_MODE 
GROUP_TRANSPORT_MEASURE 
GROUP_TRANSPORT_BEAT 
GROUP_TRANSPORT_ENDOFSONG 

Definition at line 111 of file sequencer.h.

anonymous enum
 

Enumeration values:
GROUP_TRACK_ALL 
GROUP_TRACK_NAME 
GROUP_TRACK_PG 
GROUP_TRACK_NOTE 
GROUP_TRACK_VOLUME 

Definition at line 121 of file sequencer.h.

00122         {
00123           GROUP_TRACK_ALL = 0,
00124           GROUP_TRACK_NAME,
00125           GROUP_TRACK_PG,
00126           GROUP_TRACK_NOTE,
00127           GROUP_TRACK_VOLUME
00128         };


Constructor & Destructor Documentation

jdkmidi::MIDISequencerGUIEvent::MIDISequencerGUIEvent  )  [inline]
 

Definition at line 44 of file sequencer.h.

References bits.

00045         {
00046           bits=0;
00047         }

jdkmidi::MIDISequencerGUIEvent::MIDISequencerGUIEvent unsigned long  bits_  )  [inline]
 

Definition at line 49 of file sequencer.h.

References bits.

00050         : bits(bits_)
00051         {
00052         }

jdkmidi::MIDISequencerGUIEvent::MIDISequencerGUIEvent const MIDISequencerGUIEvent e  )  [inline]
 

Definition at line 54 of file sequencer.h.

References bits.

00055         : bits(e.bits)
00056         {
00057         }

jdkmidi::MIDISequencerGUIEvent::MIDISequencerGUIEvent int  group,
int  subgroup,
int  item = 0
[inline]
 

Definition at line 59 of file sequencer.h.

References bits.

00060         {
00061           bits =  ((group&0xff)<<24)
00062             | ((subgroup&0xfff)<<12)
00063             | ((item&0xfff)<<0);
00064         }


Member Function Documentation

int jdkmidi::MIDISequencerGUIEvent::GetEventGroup  )  const [inline]
 

Definition at line 78 of file sequencer.h.

References bits.

00079         {
00080           return (int)((bits>>24)&0xff);
00081         }

int jdkmidi::MIDISequencerGUIEvent::GetEventItem  )  const [inline]
 

Definition at line 88 of file sequencer.h.

References bits.

00089         {
00090           return (int)((bits>>0)&0xfff);
00091         }

int jdkmidi::MIDISequencerGUIEvent::GetEventSubGroup  )  const [inline]
 

Definition at line 83 of file sequencer.h.

References bits.

00084         {
00085           return (int)((bits>>12)&0xfff);
00086         }

jdkmidi::MIDISequencerGUIEvent::operator unsigned long  )  const [inline]
 

Definition at line 66 of file sequencer.h.

References bits.

00067         {
00068           return bits;
00069         }

void jdkmidi::MIDISequencerGUIEvent::SetEvent int  group,
int  subgroup = 0,
int  item = 0
[inline]
 

Definition at line 71 of file sequencer.h.

References bits.

00072         {
00073           bits =  ((group&0xff)<<24)
00074             | ((subgroup&0xfff)<<12)
00075             | ((item&0xfff)<<0);
00076         }


Member Data Documentation

unsigned long jdkmidi::MIDISequencerGUIEvent::bits [private]
 

Definition at line 131 of file sequencer.h.


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