18 #ifndef CALC_FX3600P_H
19 #define CALC_FX3600P_H
22 #error calc_fx3600p.h is only for C++!
58 void addCasioFx3600SymsToSymTab();
59 bool preProcess(
string& in);
60 bool checkOnPrgBreak();
61 void addPrgStep(
const string& in);
62 double trapzd(
double a,
double b,
int n);
63 double qsimp (
double a,
double b,
int& n,
double& dif);
68 bool map(
string& sym);
69 bool getIsIdxMode() {
return mIsIdxMode; }
70 bool getIsLrnMode() {
return mIsLrnMode; }
71 bool getIsEntMode() {
return mIsEntMode; }
72 bool getIsHltMode() {
return mIsHltMode; }
73 int getActivePrg() {
return mActivePrg; }
74 int getIsPrgBreak(){
return mIsPrgBreak;}
75 int getIdxStep() {
return mIdxStep; }
76 string getRunningPrg(){
return mRunningPrg;}
77 string getPrgMem(
int i) {
return mPrgMem[i]; }
78 string getPrgMemOrg(
int i) {
return mPrgMemOrg[i]; }
80 void setIsIdxMode(
bool isOn) { mIsIdxMode = isOn; }
81 void setIsLrnMode(
bool isOn) { mIsLrnMode = isOn; }
82 void setIsEntMode(
bool isOn) { mIsEntMode = isOn; }
83 void setIsHltMode(
bool isOn) { mIsHltMode = isOn; }
84 void setActivePrg(
int prg ) { mActivePrg = prg ; }
85 void setIsPrgBreak(
bool b ) { mIsPrgBreak = b ; }
86 void setIdxStep (
int i ) { mIdxStep = i ; }
87 void setPrgMem (
int i,
string str) { mPrgMem [i] = str; }
88 void setPrgMemOrg(
int i,
string str) { mPrgMemOrg[i] = str; }
89 void setRunningPrg(
string prg) { mRunningPrg = prg; }
90 void resetRunningPrg() { mRunningPrg = mPrgMem[mActivePrg-1]; }
91 bool isPrgRunning() {
return (mActivePrg == 1 || mActivePrg == 2) && !mIsLrnMode && !mIsEntMode && !mIsHltMode; }
92 void precedeRunningPrg(
const string& pre) { mRunningPrg = pre + mRunningPrg; }
96 void aftProcess2(
string& in);
109 void setModesCasioFx3600p();
110 void makeSeven(
string displayStr =
"");
111 void setOn (
bool on) { mOn = on ?
"On" :
".." ; }
112 void setInv (
bool on) { mInv = on ?
"INV" :
"..."; }
113 void setLrn (
bool on) { mLrn = on ?
"LRN" :
"..."; }
114 void setEnt (
bool on) { mEnt = on ?
"ENT" :
"..."; }
115 void setIdx (
bool on) { mIdx = on ?
"Idx" :
"..."; }
116 void setP1 (
bool on) { mP1 = on ?
"P1" :
".." ; }
117 void setP2 (
bool on) { mP2 = on ?
"P2" :
".." ; }
143 void restorePrg(
int i,
string prg);
209 AcStrps() :
SymAction(
"strps",
"set number of integration stripes (= 2^...)") {}
223 void processP1P2(
int actPrg);
226 explicit AcPrgCtrl(
string sym =
"",
string hlp =
"no help available")
325 #endif // !CALC_FX3600P_H
Gibt Streifenanzahl bei Integration vor.
Definition: calc_fx3600p.h:206
int mDigits
aktuelle Display-Genauigkeit, zum Ruecksetzen nach Integration
Definition: calc_fx3600p.h:57
Waehlt Programm Nr. 2.
Definition: calc_fx3600p.h:246
Schaltet Rechner in Programmiermodus.
Definition: calc_fx3600p.h:170
CalculatorFx3600p * mCalcFx3600pP
Zeiger auf den zugehoerigen Calculator.
Definition: calc_fx3600p.h:44
Loescht Programm.
Definition: calc_fx3600p.h:195
Schaltet Rechner in Integrationsmodus.
Definition: calc_fx3600p.h:158
bool mIsPrgBreak
Flag, ob laufendes Prg. durch "AC" unterbr. wurde.
Definition: calc_fx3600p.h:54
Startet Programm oder setzt es fort.
Definition: calc_fx3600p.h:257
string mIdx
String des Integrations-Modus.
Definition: calc_fx3600p.h:121
int mIdxStep
aktueller Zustand des Integrationsprozesses
Definition: calc_fx3600p.h:55
Die Klasse implementiert den Calculator des Casio fx-3600P.
Definition: calc_fx3600p.h:137
DspMode mDspMode
aktueller Display-Mode, zum Ruecksetzen nach Integration
Definition: calc_fx3600p.h:56
Gemeinsame Basisklasse aller wissenschaftlichen Casio-Rechner.
Definition: calc_casio_sci.h:43
Klasse mit Unterklassen, die die Ausfuehrung von Programmen kontrollieren.
Definition: calc_fx3600p.h:219
bool mIsIdxMode
Rechner ist im Intagrationsmodus.
Definition: calc_fx3600p.h:46
string mRunningPrg
gerade ablaufendes Programm
Definition: calc_fx3600p.h:53
string mEnt
String des Enter-Modus.
Definition: calc_fx3600p.h:122
Schaltet Rechner in normalen Runmodus.
Definition: calc_fx3600p.h:182
const char mSep
Separator fuer nvRam-String in der Konf.datei.
Definition: calc_fx3600p.h:140
bool mIsEntMode
Rechner ist im "Enter"-Modus.
Definition: calc_fx3600p.h:48
Die Klasse Number repraesentiert Zahlen.
Definition: number.h:48
Die Klasse implementiert die Anzeige des Casio fx-3600P.
Definition: calc_fx3600p.h:105
Unterbricht Programm.
Definition: calc_fx3600p.h:279
Basisklasse fuer alle Aktionen ("=", "%", ...).
Definition: symbols.h:277
ComputerFx3600p * mCompP
Zeiger auf den Computer des Rechners.
Definition: calc_fx3600p.h:107
string mP2
String des Programmspeichers P2.
Definition: calc_fx3600p.h:124
bool mIsForceSciTypeB
true, wenn SCI erst bei Zahlen kleiner 1e-7
Definition: calc_fx3600p.h:45
bool mIsLrnMode
Rechner ist im Programmiermodus.
Definition: calc_fx3600p.h:47
Basisklasse aller Taschenrechner.
Definition: calculator.h:242
Gemeinsame Klassen fuer wissenschaftliche Casio-Rechner (Modul special).
Verzweigt an Programmanfang.
Definition: calc_fx3600p.h:313
Die Klasse implementiert den Computer des Casio fx-3600P.
Definition: calc_fx3600p.h:42
string mOn
String des Power-Status "On".
Definition: calc_fx3600p.h:119
Klasse der Anzeige aller wissenschaftlichen Casio-Rechner.
Definition: calc_casio_sci.h:102
bool mIsHltMode
Programm wurde durch "HLT"-Befehl unterbrochen.
Definition: calc_fx3600p.h:49
string mLrn
String des Programmiermodus "LRN".
Definition: calc_fx3600p.h:120
Basisklasse aller Computer.
Definition: calculator.h:84
Erlaubt Dateneingabe in Programmen.
Definition: calc_fx3600p.h:268
Waehlt Programm Nr. 1.
Definition: calc_fx3600p.h:235
Verzweigt an Programmanfang, wenn Anzeige <= M.
Definition: calc_fx3600p.h:301
Verzweigt an Programmanfang, wenn Anzeige > 0.
Definition: calc_fx3600p.h:290
int mActivePrg
gerade aktives Programm
Definition: calc_fx3600p.h:52
string mP1
String des Programmspeichers P1.
Definition: calc_fx3600p.h:123