Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MessageProjectFile Class Reference

#include <messageprojectfile.h>

+ Inheritance diagram for MessageProjectFile:
+ Collaboration diagram for MessageProjectFile:

Public Types

enum  Types { FILE_OPENED, FILE_SAVED, FILE_EDITED, FILE_CREATED }
 
- Public Types inherited from Message
enum  MessageTypes {
  MSG_CLEAR_RECORDING, MSG_RECORDING_STARTED, MSG_RECORDING_ENDED, MSG_SIGNAL_ANALYSIS_STARTED,
  MSG_SIGNAL_ANALYSIS_ENDED, MSG_FINAL_KEY, MSG_OPTIONS_CHANGED, MSG_CALCULATION_PROGRESS,
  MSG_CHANGE_TUNING_CURVE, MSG_FINAL_KEY_RECOGNIZED, MSG_KEY_DATA_CHANGED, MSG_KEY_SELECTION_CHANGED,
  MSG_MIDI_EVENT, MSG_MODE_CHANGED, MSG_NEW_FFT_CALCULATED, MSG_PRELIMINARY_KEY,
  MSG_PROJECT_FILE, MSG_RECORDER_ENERGY_CHANGED, MSG_STROBOSCOPE_EVENT, MSG_TUNING_DEVIATION
}
 Available message types: More...
 

Public Member Functions

 MessageProjectFile (Types type, const Piano &piano)
 
 ~MessageProjectFile ()
 
Types getFileMessageType () const
 
const PianogetPiano () const
 
- Public Member Functions inherited from Message
 Message (MessageTypes type)
 Message constructor. More...
 
virtual ~Message ()
 Virtual destructor without function, can be overwritten in derived classes. More...
 
MessageTypes getType () const
 Get the message type of the message object. More...
 

Private Attributes

const Types mFileMessageType
 
const PianomPiano
 

Detailed Description

Definition at line 28 of file messageprojectfile.h.

Member Enumeration Documentation

Enumerator
FILE_OPENED 
FILE_SAVED 
FILE_EDITED 
FILE_CREATED 

Definition at line 31 of file messageprojectfile.h.

Constructor & Destructor Documentation

MessageProjectFile::MessageProjectFile ( Types  type,
const Piano piano 
)

Definition at line 23 of file messageprojectfile.cpp.

MessageProjectFile::~MessageProjectFile ( )

Definition at line 31 of file messageprojectfile.cpp.

Member Function Documentation

Types MessageProjectFile::getFileMessageType ( ) const
inline

Definition at line 43 of file messageprojectfile.h.

const Piano & MessageProjectFile::getPiano ( ) const

Definition at line 37 of file messageprojectfile.cpp.

Member Data Documentation

const Types MessageProjectFile::mFileMessageType
private

Definition at line 47 of file messageprojectfile.h.

const Piano& MessageProjectFile::mPiano
private

Definition at line 48 of file messageprojectfile.h.


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