#include <truthTableCanvas.hpp>
Public Member Functions | |
TruthTableCanvasEvent (wxEventType commandType=wxEVT_NULL, int id=0) | |
Constructor. | |
vector< bool > | getInput () |
Returns the input combination of the event. | |
int | getOutput () |
Returns the output combination of the event. | |
void | setInput (vector< bool > newInput) |
Sets the input combination of the event. | |
void | setOutput (int newOutput) |
Sets the output combination of the event. | |
Private Attributes | |
vector< bool > | input |
int | output |
This class is a wxWindows event class done to send events from a TruthTableCanvas object when a cell is clicked.
Definition at line 77 of file truthTableCanvas.hpp.
|
Constructor.
Definition at line 33 of file truthTableCanvas.cpp. |
|
Returns the input combination of the event.
Definition at line 43 of file truthTableCanvas.cpp. References input. Referenced by TruthTableView::OnClick(). |
|
Returns the output combination of the event.
Definition at line 53 of file truthTableCanvas.cpp. References output. Referenced by TruthTableView::OnClick(). |
|
Sets the input combination of the event.
Definition at line 63 of file truthTableCanvas.cpp. References input. |
|
Sets the output combination of the event.
Definition at line 73 of file truthTableCanvas.cpp. References output. |
|
Definition at line 88 of file truthTableCanvas.hpp. Referenced by getInput(), and setInput(). |
|
Definition at line 89 of file truthTableCanvas.hpp. Referenced by getOutput(), and setOutput(). |