golib  0.5
goGUI::MultiVectorInput Class Reference

Input for multiple vectors. More...

#include <multivectorinput.h>

Public Member Functions

 MultiVectorInput (const int *ns, int n)
 Constructor. More...
 
goGUI::VectorInputgetInput (int index)
 Get the index'th VectorInput. More...
 
void inputChangedSlot ()
 
goCaller0< int > & callerChanged ()
 Get a caller that calls its connections every time the input gets changed. More...
 

Detailed Description

Input for multiple vectors.

Contains several goGUI::VectorInput inputs.

Constructor & Destructor Documentation

◆ MultiVectorInput()

goGUI::MultiVectorInput::MultiVectorInput ( const int *  ns,
int  n 
)

Constructor.

Parameters
nsArray of integers, the i'th entry denotes the size of the i'th vector.
nSize of ns.

Member Function Documentation

◆ callerChanged()

goCaller0< int > & goGUI::MultiVectorInput::callerChanged ( )

Get a caller that calls its connections every time the input gets changed.

Note
This was used in place of a sigc::signal here and in other places since in some configuration, an application using sigc crashed. It works with goCaller.
Returns
The goCaller object.

◆ getInput()

goGUI::VectorInput & goGUI::MultiVectorInput::getInput ( int  index)

Get the index'th VectorInput.

Parameters
indexIndex of input.
Returns
Reference to a VectorInput

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