CEBL
2.1
|
#include <EEGInterface.hpp>
Public Member Functions | |
EEGInterface () | |
constructors / destructors | |
virtual | ~EEGInterface () |
virtual std::map< std::string, CEBL::Param > | getParamsList () |
get list of parameters | |
virtual void | setParamsList (std::map< std::string, CEBL::Param > param) |
set values for parameter list | |
virtual void | setNumClasses (int n) |
set number of classes | |
virtual void | setBGColor (unsigned int red, unsigned int green, unsigned int blue) |
set the background color of the interface | |
virtual void | selectTrainingClass (int n)=0 |
set the class currently being trained | |
virtual void | selectClass (int c)=0 |
select class and reset | |
virtual void | setClassProportions (std::vector< double > proportions)=0 |
move bars based on proportions for each class | |
virtual void | setClassLabels (std::vector< std::string >)=0 |
set labels for each class | |
virtual void | setTrainMode () |
set mode to train | |
virtual void | setUseMode () |
set mode to use | |
![]() | |
CEBLGtkWidgetDetachable () | |
~CEBLGtkWidgetDetachable () | |
GtkWidget * | getContainer () |
get pointer to gtk widget | |
operator GtkWidget * () | |
get pointer to gtk widget | |
bool | isDetached () |
void | hide () |
hide the widget | |
![]() | |
CEBLGtkWidget () | |
virtual | ~CEBLGtkWidget () |
virtual void | removeWidget (GtkWidget *widget) |
remove a widget from the container | |
virtual void | show () |
show the widget |
Protected Member Functions | |
void | packStart (GtkWidget *, bool expland, bool fill, int padding) |
packStart adds a widget to the interface container at the beginning | |
void | packStart (GtkWidget *) |
void | packEnd (GtkWidget *, bool expand, bool fill, int padding) |
packEnd adds a widget to the interface container at the end. | |
void | packEnd (GtkWidget *) |
Protected Attributes | |
GtkWidget * | container |
WidgetPanel * | configuration_panel |
bool | configuration_window_open |
int | num_classes |
bool | train_mode |
unsigned int | bg_red |
unsigned int | bg_green |
unsigned int | bg_blue |
![]() | |
bool | is_detached |
GtkWidget * | outer_container |
GtkWidget * | inner_container |
GtkWidget * | detached_window |
GtkWidget * | toggle_detached |
![]() | |
GtkWidget * | cebl_gtk_widget_container |
Definition at line 35 of file EEGInterface.hpp.
EEGInterface::EEGInterface | ( | ) |
constructors / destructors
Constructor. Creates gtk container.
Definition at line 11 of file EEGInterface.cpp.
References bg_blue, bg_green, bg_red, container, and CEBLGtkWidget::setWidgetContainer().
|
virtual |
Definition at line 21 of file EEGInterface.cpp.
References container.
|
inlinevirtual |
get list of parameters
Reimplemented in KeyboardPie, PieInterface, CursorPie, and RobotPie.
Definition at line 66 of file EEGInterface.hpp.
|
protected |
packEnd adds a widget to the interface container at the end.
Definition at line 39 of file EEGInterface.cpp.
References container.
Referenced by packEnd().
|
protected |
Definition at line 44 of file EEGInterface.cpp.
References packEnd().
|
protected |
packStart adds a widget to the interface container at the beginning
Definition at line 29 of file EEGInterface.cpp.
References container.
Referenced by KeyboardPie::KeyboardPie(), packStart(), and PieInterface::PieInterface().
|
protected |
Definition at line 34 of file EEGInterface.cpp.
References packStart().
|
pure virtual |
select class and reset
Implemented in KeyboardPie, PieInterface, CursorPie, and RobotPie.
|
pure virtual |
set the class currently being trained
Implemented in PieInterface.
|
inlinevirtual |
set the background color of the interface
Reimplemented in PieInterface.
Definition at line 79 of file EEGInterface.hpp.
Referenced by TabRealTimeClassification::updateView(), and TabTraining::updateView().
|
pure virtual |
set labels for each class
Implemented in PieInterface.
Referenced by InterfaceCombo::getInterface().
|
pure virtual |
move bars based on proportions for each class
Implemented in PieInterface.
|
inlinevirtual |
set number of classes
Reimplemented in KeyboardPie, and PieInterface.
Definition at line 75 of file EEGInterface.hpp.
Referenced by InterfaceCombo::getInterface().
|
inlinevirtual |
set values for parameter list
Reimplemented in KeyboardPie, PieInterface, CursorPie, and RobotPie.
Definition at line 72 of file EEGInterface.hpp.
|
inlinevirtual |
|
inlinevirtual |
set mode to use
Reimplemented in PieInterface.
Definition at line 97 of file EEGInterface.hpp.
Referenced by TabRealTimeClassification::updateView().
|
protected |
Definition at line 57 of file EEGInterface.hpp.
Referenced by EEGInterface(), PieInterface::PieInterface(), and PieInterface::setBGColor().
|
protected |
Definition at line 57 of file EEGInterface.hpp.
Referenced by EEGInterface(), PieInterface::PieInterface(), and PieInterface::setBGColor().
|
protected |
Definition at line 57 of file EEGInterface.hpp.
Referenced by EEGInterface(), PieInterface::PieInterface(), and PieInterface::setBGColor().
|
protected |
Definition at line 43 of file EEGInterface.hpp.
|
protected |
Definition at line 44 of file EEGInterface.hpp.
|
protected |
Definition at line 40 of file EEGInterface.hpp.
Referenced by EEGInterface(), packEnd(), packStart(), and ~EEGInterface().
|
protected |
Definition at line 53 of file EEGInterface.hpp.
Referenced by RobotPie::getParamsList(), CursorPie::getParamsList(), PieInterface::setNumClasses(), and KeyboardPie::setNumClasses().
|
protected |
Definition at line 54 of file EEGInterface.hpp.
Referenced by PieInterface::setTrainMode(), and PieInterface::setUseMode().