Canola
0.8.D001
|
00001 // 00002 // canola - canon canola 1614p emulator 00003 // Copyright (C) 2011 Peter Miller 00004 // 00005 // This program is free software; you can redistribute it and/or modify 00006 // it under the terms of the GNU General Public License, version 3, as 00007 // published by the Free Software Foundation. 00008 // 00009 // This program is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 // General Public License for more details. 00013 // 00014 // You should have received a copy of the GNU General Public License along 00015 // with this program. If not, see <http://www.gnu.org/licenses/>. 00016 // 00017 00018 #ifndef LIB_CALCULATOR_ASM_H 00019 #define LIB_CALCULATOR_ASM_H 00020 00021 #include <lib/calculator.h> 00022 00028 class calculator_asm: 00029 public calculator 00030 { 00031 public: 00035 virtual ~calculator_asm(); 00036 00041 static pointer create(void); 00042 00043 protected: 00044 // See base class for documentation. 00045 void on_error_v(const char *fmt, va_list ap); 00046 00047 // See base class for documentation. 00048 void run(void); 00049 00050 // See base class for documentation. 00051 void derived_print(const display &value); 00052 00053 // See base class for documentation. 00054 void derived_feed(void); 00055 00056 // See base class for documentation. 00057 void derived_off(void); 00058 00059 // See base class for documentation. 00060 void derived_update_display(const display &value); 00061 00062 // See base class for documentation. 00063 void clock_tick_start_running(void); 00064 00065 // See base class for documentation. 00066 void printer_timer_start_running(void); 00067 00068 private: 00073 calculator_asm(); 00074 00082 calculator_asm(const calculator_asm &rhs); 00083 00091 calculator_asm &operator=(const calculator_asm &rhs); 00092 }; 00093 00094 #endif // LIB_CALCULATOR_ASM_H