GT RoboCup SSL
Soccer software, robot firmware
ConfigItem Class Referenceabstract

Base class for items in configuration: this is constructed through functions in the Configuration class which ensure new items are added to the tree properly. More...

Public Member Functions

const QStringList & path () const
 
const std::string name () const
 Returns the same name that was passed to the constructor.
 
virtual QString toString ()=0
 
virtual void setValueString (const QString &str)=0
 

Protected Member Functions

 ConfigItem (Configuration *tree, const QString &name, std::string description="")
 
void addItem ()
 
virtual void setupItem ()
 
void valueChanged (const QString &str)
 

Protected Attributes

QStringList _path
 
Configuration_config
 
QTreeWidgetItem * _treeItem
 
std::string _description
 

Friends

class Configuration
 

Detailed Description

Base class for items in configuration: this is constructed through functions in the Configuration class which ensure new items are added to the tree properly.

+ Inheritance diagram for ConfigItem:
+ Collaboration diagram for ConfigItem:

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