CEBL  2.1
Public Member Functions
RobotPie Class Reference

#include <RobotPie.hpp>

Public Member Functions

 RobotPie ()
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 setNumClasses (int)
 set number of classes
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 29 of file RobotPie.hpp.


Constructor & Destructor Documentation

RobotPie::RobotPie ( )

Definition at line 14 of file RobotPie.cpp.


Member Function Documentation

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

get list of parameters

Reimplemented from PieInterface.

Definition at line 48 of file RobotPie.cpp.

References TextUtils::IntToString(), and EEGInterface::num_classes.

void RobotPie::selectClass ( int  c)
virtual

select class and reset

Reimplemented from PieInterface.

Definition at line 20 of file RobotPie.cpp.

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

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

set values for parameter list

Reimplemented from PieInterface.

Definition at line 65 of file RobotPie.cpp.

References PieInterface::pie_menu, and pie_set_secondary_labels().


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