CFugue
ChannelPressure.h
1 /*
2  This is part of CFugue, a C++ Runtime for MIDI Score Programming
3  Copyright (C) 2009 Gopalakrishna Palem
4 
5  For links to further information, or to contact the author,
6  see <http://musicnote.sourceforge.net/>.
7 */
8 
9 #ifndef __CHANNELPRESSURE_H__6DE86217_F83D_430E_8097_406A2E3C2204__
10 #define __CHANNELPRESSURE_H__6DE86217_F83D_430E_8097_406A2E3C2204__
11 
12 namespace CFugue
13 {
15  {
16  unsigned char nPressure;
17  public:
18  ChannelPressure(unsigned char argPressure) : nPressure(argPressure)
19  {
20  }
21  /// Returns the Channel pressure value
22  inline unsigned char GetPressure() const { return nPressure; }
23  };
24 
25 } // namespace CFugue
26 
27 #endif // __CHANNELPRESSURE_H__6DE86217_F83D_430E_8097_406A2E3C2204__
unsigned char GetPressure() const
Returns the Channel pressure value.

CFugue, the C++ Music Programming Library © Copyright 2009 Cenacle Research India Private Limited Gopalakrishna Palem