Base Relacs Plugins
0.9.8
|
#include <setoutput.h>
Public Slots | |
void | acceptValues (void) |
void | setValues (void) |
void | setZeros (void) |
void | keepValues (void) |
Public Slots inherited from ConfigDialog | |
virtual void | dialog (void) |
virtual void | help (void) |
virtual void | notifyDialog (const Options &opt) |
Public Member Functions | |
SetOutput (void) | |
virtual void | preConfig (void) |
virtual void | notify (void) |
virtual int | main (void) |
const Options & | outTraces (void) const |
Public Member Functions inherited from ConfigDialog | |
ConfigDialog (const string &configident="", int configgroup=0, const string &name="", const string &author="", const string &version="", const string &date=__DATE__) | |
virtual | ~ConfigDialog (void) |
string | name (void) const |
virtual void | setName (const string &name) |
string | author (void) const |
virtual void | setAuthor (const string &author) |
string | version (void) const |
virtual void | setVersion (const string &version) |
string | date (void) const |
virtual void | setDate (const string &date) |
virtual OptWidget * | dialogOptions (OptDialog *od, string *tabhotkeys=0) |
virtual void | dialogButtons (OptDialog *od) |
virtual void | dialogEmptyMessage (OptDialog *od) |
int | dialogSelectMask (void) const |
void | setDialogSelectMask (int mask) |
void | addDialogSelectMask (int mask) |
int | dialogReadOnlyMask (void) const |
void | setDialogReadOnlyMask (int mask) |
void | addDialogReadOnlyMask (int mask) |
int | dialogStyle (void) const |
void | setDialogStyle (int style) |
void | addDialogStyle (int style) |
string | dialogCaption (void) const |
void | setDialogCaption (const string &caption) |
bool | dialogHeader (void) const |
void | setDialogHeader (bool d) |
string | headerBackgroundColor (void) const |
void | setHeaderBackgroundColor (const string &color) |
string | headerForegroundColor (void) const |
void | setHeaderForegroundColor (const string &color) |
string | headerImageFile (void) const |
void | setHeaderImageFile (const string &file) |
virtual void | dialogHeaderWidget (OptDialog *od) |
bool | dialogHelp (void) const |
void | setDialogHelp (bool d) |
string | helpCaption (void) const |
void | setHelpCaption (const string &caption) |
string | helpPath (int inx=0) const |
int | helpPathes (void) const |
void | clearHelpPathes (void) |
void | setHelpPath (const string &path) |
void | addHelpPath (const string &path) |
virtual string | helpFileName (void) const |
bool | dialogOpen (void) const |
bool | helpOpen (void) const |
QWidget * | mainWidget (void) |
virtual void | setMainWidget (QWidget *widget) |
void | lock () const |
void | unlock () const |
bool | tryLock (int timeout=1) |
QMutex * | mutex (void) |
Public Member Functions inherited from ConfigClass | |
ConfigClass (const string &ident, int group=0, int mode=0xffff, int selectmask=0) | |
ConfigClass (const ConfigClass &C) | |
virtual | ~ConfigClass (void) |
const string & | configIdent (void) const |
void | setConfigIdent (const string &ident) |
int | configGroup (void) const |
void | setConfigGroup (int group) |
int | configMode (void) const |
void | setConfigMode (int mode) |
void | addConfigMode (int mode) |
void | delConfigMode (int mode) |
int | configSelectMask (void) const |
void | setConfigSelectMask (int mask) |
void | addConfig (void) |
void | readConfig (void) |
virtual void | readConfig (StrQueue &sq) |
virtual void | saveConfig (ofstream &str) |
virtual int | configSize (void) const |
virtual void | config (void) |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *e) |
virtual void | customEvent (QEvent *qce) |
Protected Member Functions inherited from ConfigDialog | |
void | setDialogOpen (bool open=true) |
void | setHelpOpen (bool open=true) |
Protected Attributes | |
OptWidget | STW |
Options | OutOpts |
bool | Interactive |
bool | Change |
bool | Quit |
Protected Attributes inherited from ConfigDialog | |
Options | DialogOptions |
Static Protected Attributes | |
static const int | ChannelFlag = 1 |
static const int | ParameterFlag = 2 |
Additional Inherited Members | |
Public Types inherited from ConfigClass | |
enum | Action |
Signals inherited from ConfigDialog | |
void | dialogAccepted (void) |
void | dialogAction (int r) |
void | dialogClosed (int r) |
Static Public Member Functions inherited from ConfigClass | |
static void | setConfigureClasses (ConfigureClasses *cfg) |
Protected Slots inherited from ConfigDialog | |
void | notificationFromDialog (const Parameter &p) |
virtual void | dClosed (int r) |
virtual void | hClosed (int r) |
[RePro] Set an output to a specified value
Either sets the value of a single output trace or shows a dialog, where the values of all output parameter can be specified and set.
outtrace=V-1
: Output trace (string
)value=0
: Value to be writen to output trace (number
)intensity=0
: Intensity for an attenuator (number
)interactive=false:
Set values interactively (boolean
)SetOutput | ( | void | ) |
|
virtual |
Reimplemented from ConfigClass.
References OptWidget::assign(), SetOutput::ChannelFlag, ConfigDialog::mutex(), SetOutput::OutOpts, SetOutput::ParameterFlag, and SetOutput::STW.
|
virtual |
|
virtual |
Implements RePro.
References SetOutput::Change, OutData::constWave(), DaqError::errorText(), OutList::errorText(), DaqError::failed(), OutList::failed(), SetOutput::Interactive, ConfigDialog::name(), SetOutput::OutOpts, SetOutput::ParameterFlag, OutList::push(), SetOutput::Quit, OutData::setIntensity(), OutData::setTrace(), OutData::setTraceName(), OutList::size(), SetOutput::STW, OutData::traceName(), OutData::unit(), and OptWidget::updateValues().
const Options & outTraces | ( | void | ) | const |
References SetOutput::OutOpts.
|
slot |
References OptWidget::accept(), SetOutput::Change, SetOutput::Interactive, SetOutput::Quit, and SetOutput::STW.
Referenced by SetOutput::keyPressEvent(), and SetOutput::SetOutput().
|
slot |
References OptWidget::accept(), SetOutput::Change, SetOutput::Interactive, SetOutput::Quit, and SetOutput::STW.
Referenced by SetOutput::keyPressEvent(), and SetOutput::SetOutput().
|
slot |
|
slot |
References SetOutput::Change, SetOutput::Interactive, ConfigDialog::lock(), SetOutput::Quit, and ConfigDialog::unlock().
Referenced by SetOutput::keyPressEvent(), and SetOutput::SetOutput().
|
protectedvirtual |
|
protectedvirtual |
References OptWidget::firstWidget(), and SetOutput::STW.
|
protected |
|
protected |
Referenced by SetOutput::main(), SetOutput::outTraces(), SetOutput::preConfig(), and SetOutput::setZeros().
|
protected |
|
protected |
Referenced by SetOutput::acceptValues(), SetOutput::keepValues(), SetOutput::main(), SetOutput::setValues(), and SetOutput::setZeros().
|
protected |
Referenced by SetOutput::acceptValues(), SetOutput::keepValues(), SetOutput::main(), SetOutput::setValues(), and SetOutput::setZeros().
|
staticprotected |
Referenced by SetOutput::preConfig().
|
staticprotected |
Referenced by SetOutput::main(), and SetOutput::preConfig().