CLAM-Development
1.1
|
This class wrapps a vector (array) of Controls and gives its Controls automatic names at construction. More...
#include <ControlArray.hxx>
Public Member Functions | |
ControlArray () | |
ControlArray (int size, const std::string &name, Processing *parent) | |
ControlArray (int size, const std::list< std::string > &names, Processing *parent) | |
~ControlArray () | |
ControlT & | operator[] (int i) |
const ControlT & | operator[] (int i) const |
void | Resize (int size, const std::string &name, Processing *parent) |
void | Resize (int size, const std::list< std::string > &names, Processing *parent) |
void | Append (int size, const std::string &names, Processing *parent) |
void | Append (int size, const std::list< std::string > &names, Processing *parent) |
int | Size () const |
void | Clear () |
Protected Member Functions | |
void | Shrink (int size) |
This class wrapps a vector (array) of Controls and gives its Controls automatic names at construction.
Definition at line 41 of file ControlArray.hxx.
CLAM::ControlArray< ControlT >::ControlArray | ( | ) | [inline] |
Definition at line 47 of file ControlArray.hxx.
CLAM::ControlArray< ControlT >::ControlArray | ( | int | size, |
const std::string & | name, | ||
Processing * | parent | ||
) | [inline] |
Definition at line 48 of file ControlArray.hxx.
CLAM::ControlArray< ControlT >::ControlArray | ( | int | size, |
const std::list< std::string > & | names, | ||
Processing * | parent | ||
) | [inline] |
Definition at line 52 of file ControlArray.hxx.
CLAM::ControlArray< ControlT >::~ControlArray | ( | ) | [inline] |
Definition at line 58 of file ControlArray.hxx.
void CLAM::ControlArray< ControlT >::Append | ( | int | size, |
const std::string & | names, | ||
Processing * | parent | ||
) |
Definition at line 115 of file ControlArray.hxx.
void CLAM::ControlArray< ControlT >::Append | ( | int | size, |
const std::list< std::string > & | names, | ||
Processing * | parent | ||
) |
Definition at line 122 of file ControlArray.hxx.
void CLAM::ControlArray< ControlT >::Clear | ( | ) | [inline] |
Definition at line 71 of file ControlArray.hxx.
Referenced by CLAM::ControlPrinter::RemoveOldControls(), CLAM::ControlTraceReader::RemoveOldControls(), CLAM::ControlTraceWriter::RemoveOldControls(), and CLAM::ControlArray< InControl >::~ControlArray().
ControlT& CLAM::ControlArray< ControlT >::operator[] | ( | int | i | ) | [inline] |
Definition at line 60 of file ControlArray.hxx.
const ControlT& CLAM::ControlArray< ControlT >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 61 of file ControlArray.hxx.
void CLAM::ControlArray< ControlT >::Resize | ( | int | size, |
const std::string & | name, | ||
Processing * | parent | ||
) |
Definition at line 78 of file ControlArray.hxx.
Referenced by CLAM::ControlPrinter::ConcreteConfigure(), CLAM::Controller::ConcreteConfigure(), CLAM::ControlTraceReader::ConcreteConfigure(), CLAM::SMSHarmonizer::ConcreteConfigure(), CLAM::ControlTraceWriter::ConcreteConfigure(), and CLAM::ControlArray< InControl >::ControlArray().
void CLAM::ControlArray< ControlT >::Resize | ( | int | size, |
const std::list< std::string > & | names, | ||
Processing * | parent | ||
) |
Definition at line 97 of file ControlArray.hxx.
References CLAM_ASSERT.
void CLAM::ControlArray< ControlT >::Shrink | ( | int | size | ) | [protected] |
Definition at line 130 of file ControlArray.hxx.
References CLAM_ASSERT.
Referenced by CLAM::ControlArray< InControl >::Clear().
int CLAM::ControlArray< ControlT >::Size | ( | ) | const [inline] |
Definition at line 69 of file ControlArray.hxx.
Referenced by CLAM::Controller::ConcreteConfigure(), CLAM::SMSHarmonizer::ConcreteConfigure(), CLAM::ControlTraceEvent::ControlTraceEvent(), CLAM::ControlPrinter::Do(), CLAM::SMSHarmonizer::Do(), and CLAM::ControlTraceEvent::UpdateControls().