TruthTableCanvasEvent Class Reference

Event class to send events from a TruthTableCanvas. More...

#include <truthTableCanvas.hpp>

List of all members.

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


Detailed Description

Event class to send events from a TruthTableCanvas.

This class is a wxWindows event class done to send events from a TruthTableCanvas object when a cell is clicked.

Author:
Bernat Rāfales Mulet <the_bell@users.sourceforge.net>
Version:
Revision
1.6

Definition at line 77 of file truthTableCanvas.hpp.


Constructor & Destructor Documentation

TruthTableCanvasEvent::TruthTableCanvasEvent wxEventType  commandType = wxEVT_NULL,
int  id = 0
 

Constructor.

Parameters:
commandType event type.
id event identifier.

Definition at line 33 of file truthTableCanvas.cpp.


Member Function Documentation

vector< bool > TruthTableCanvasEvent::getInput  ) 
 

Returns the input combination of the event.

Returns:
The input combination of the event.

Definition at line 43 of file truthTableCanvas.cpp.

References input.

Referenced by TruthTableView::OnClick().

int TruthTableCanvasEvent::getOutput  ) 
 

Returns the output combination of the event.

Returns:
The output combination of the event.

Definition at line 53 of file truthTableCanvas.cpp.

References output.

Referenced by TruthTableView::OnClick().

void TruthTableCanvasEvent::setInput vector< bool >  newInput  ) 
 

Sets the input combination of the event.

Parameters:
newInput the input combination of the event.

Definition at line 63 of file truthTableCanvas.cpp.

References input.

void TruthTableCanvasEvent::setOutput int  newOutput  ) 
 

Sets the output combination of the event.

Parameters:
newOutput the input combination of the event.

Definition at line 73 of file truthTableCanvas.cpp.

References output.


Member Data Documentation

vector<bool> TruthTableCanvasEvent::input [private]
 

Definition at line 88 of file truthTableCanvas.hpp.

Referenced by getInput(), and setInput().

int TruthTableCanvasEvent::output [private]
 

Definition at line 89 of file truthTableCanvas.hpp.

Referenced by getOutput(), and setOutput().


The documentation for this class was generated from the following files:
Generated on Sat Sep 2 00:01:12 2006 for NanoComp by  doxygen 1.4.6