CEBL  2.1
Public Member Functions
KeyboardPie Class Reference

#include <KeyboardPie.hpp>

Public Member Functions

 KeyboardPie ()
void setNumClasses (int)
 set number of classes
void selectClass (int)
 select class and reset
void setParamsList (std::map< std::string, CEBL::Param >)
 set values for parameter list
std::map< std::string,
CEBL::Param
getParamsList ()
 get list of parameters
- Public Member Functions inherited from PieInterface
 PieInterface ()
virtual ~PieInterface ()
virtual void selectTrainingClass (int)
 set the class currently being trained
virtual void setClassProportions (std::vector< double > proportions)
 move bars based on proportions for each class
virtual void setClassLabels (std::vector< std::string > labels)
 set labels for each class
virtual void setBGColor (unsigned int red, unsigned int green, unsigned int blue)
 set the background color of the interface
virtual void setTrainMode ()
 set mode to train
virtual void setUseMode ()
 set mode to use
- Public Member Functions inherited from EEGInterface
 EEGInterface ()
 constructors / destructors
virtual ~EEGInterface ()
- Public Member Functions inherited from CEBLGtkWidgetDetachable
 CEBLGtkWidgetDetachable ()
 ~CEBLGtkWidgetDetachable ()
GtkWidget * getContainer ()
 get pointer to gtk widget
 operator GtkWidget * ()
 get pointer to gtk widget
bool isDetached ()
void hide ()
 hide the widget
- Public Member Functions inherited from CEBLGtkWidget
 CEBLGtkWidget ()
virtual ~CEBLGtkWidget ()
virtual void removeWidget (GtkWidget *widget)
 remove a widget from the container
virtual void show ()
 show the widget

Additional Inherited Members

- Protected Attributes inherited from PieInterface
GtkWidget * pie_menu
double bar_growth
- Protected Attributes inherited from EEGInterface
GtkWidget * container
WidgetPanelconfiguration_panel
bool configuration_window_open
int num_classes
bool train_mode
unsigned int bg_red
unsigned int bg_green
unsigned int bg_blue
- Protected Attributes inherited from CEBLGtkWidgetDetachable
bool is_detached
GtkWidget * outer_container
GtkWidget * inner_container
GtkWidget * detached_window
GtkWidget * toggle_detached
- Protected Attributes inherited from CEBLGtkWidget
GtkWidget * cebl_gtk_widget_container

Detailed Description

Definition at line 36 of file KeyboardPie.hpp.


Constructor & Destructor Documentation

KeyboardPie::KeyboardPie ( )

Definition at line 12 of file KeyboardPie.cpp.

References EEGInterface::packStart().


Member Function Documentation

std::map< std::string, CEBL::Param > KeyboardPie::getParamsList ( )
virtual

get list of parameters

Reimplemented from PieInterface.

Definition at line 283 of file KeyboardPie.cpp.

void KeyboardPie::selectClass ( int  c)
virtual

select class and reset

Reimplemented from PieInterface.

Definition at line 165 of file KeyboardPie.cpp.

References PieInterface::pie_menu, pie_select_class(), pie_set_bars_visible(), and SELECT_MODE.

void KeyboardPie::setNumClasses ( int  n)
virtual

set number of classes

Reimplemented from PieInterface.

Definition at line 72 of file KeyboardPie.cpp.

References EEGInterface::num_classes, PieInterface::pie_menu, and pie_set_segments().

void KeyboardPie::setParamsList ( std::map< std::string, CEBL::Param param)
virtual

set values for parameter list

Reimplemented from PieInterface.

Definition at line 288 of file KeyboardPie.cpp.


The documentation for this class was generated from the following files: