Canola
0.8.D001
|
#include <ope_che.h>
Public Member Functions | |
virtual | ~interpose_ope_che () |
Static Public Member Functions | |
static pointer | create (calculator *subject) |
Protected Member Functions | |
void | on_opcode (opcode_t op, const location::pointer &where) |
void | on_error_v (const char *fmt, va_list ap) |
bool | strict_memory_number_checking_required (void) const |
Private Member Functions | |
interpose_ope_che (calculator *subject) | |
interpose_ope_che () | |
interpose_ope_che (const interpose_ope_che &) | |
interpose_ope_che & | operator= (const interpose_ope_che &) |
Private Attributes | |
calculator * | subject |
The interpose_ope_che class is used to represent sending keystrokes to a calculator instance, when in Program Mode OPE CHE state.
interpose_ope_che::~interpose_ope_che | ( | ) | [virtual] |
The destructor.
Definition at line 22 of file ope_che.cc.
interpose_ope_che::interpose_ope_che | ( | calculator * | subject | ) | [private] |
The constructor.
subject | The calculator instance to drive. |
Definition at line 27 of file ope_che.cc.
interpose_ope_che::interpose_ope_che | ( | ) | [private] |
The default constructor. Do not use.
interpose_ope_che::interpose_ope_che | ( | const interpose_ope_che & | ) | [private] |
The copy constructor. Do not use.
interpose::pointer interpose_ope_che::create | ( | calculator * | subject | ) | [static] |
The create class method is used to create new dynamically allocated istances of this class.
subject | The calculator instance to drive. |
Definition at line 35 of file ope_che.cc.
void interpose_ope_che::on_error_v | ( | const char * | fmt, |
va_list | ap | ||
) | [protected, virtual] |
The on_error_v method is used to report errors processing the key stream.
fmt | The format of the error. This controls the numer and types of the following arguments. |
ap | The following arguments. |
Implements interpose.
Definition at line 49 of file ope_che.cc.
void interpose_ope_che::on_opcode | ( | opcode_t | op, |
const location::pointer & | where | ||
) | [protected, virtual] |
The on_opcode method is used to process keys that have a corresponding opcode.
op | The opcode (usually a key stroke) of interest |
where | The source file location, or NULL if not available. |
Implements interpose.
Definition at line 42 of file ope_che.cc.
interpose_ope_che& interpose_ope_che::operator= | ( | const interpose_ope_che & | ) | [private] |
The assignment operator. Do not use.
bool interpose_ope_che::strict_memory_number_checking_required | ( | void | ) | const [protected, virtual] |
The strict_memory_number_checking_required method is used to determine whether or not the number keys following M3~ keys (et al) must be followed by a digit key (true) or any key (false). The actual 1614P silently permits any key, and uses only the lower 4 bits.
Implements interpose.
Definition at line 56 of file ope_che.cc.
calculator* interpose_ope_che::subject [private] |