VAPOR3 3.9.4
|
A class for describing visual features displayed in the visualizer. More...
#include <AppSettingsParams.h>
Public Member Functions | |
AppSettingsParams (VAPoR::ParamsBase::StateSave *ssave) | |
AppSettingsParams (VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node) | |
virtual | ~AppSettingsParams () |
const std::string | getShortName () |
void | restoreDefaults () |
void | SetJpegQuality (int val) |
long | GetJpegQuality () const |
void | SetAutosaveInterval (int val) |
long | GetAutosaveInterval () const |
bool | GetAutosaveEnabled () |
void | SetAutosaveEnabled (bool onOff) |
bool | GetShowWarning () const |
void | SetShowWarning (bool onOff) |
bool | GetUseLessAccurate () const |
void | SetUseLessAccurate (bool onOff) |
bool | GetTrackMouse () const |
void | SetTrackMouse (bool onOff) |
bool | GetShowCitation () const |
void | SetShowCitation (bool onOff) |
void | SetMessageSilence (bool val) |
bool | GetMessageSilence () const |
string | GetAutosaveName () |
void | SetAutosaveName (string name) |
string | GetLogFileName () const |
void | SetLogFileName (string name) |
bool | GetLogfileEnabled () const |
void | SetLogfileEnabled (bool val) |
void | SetCurrentJpegQuality (int val) |
long | GetCurrentJpegQuality () const |
void | SetCurrentAutosaveInterval (int val) |
long | GetCurrentAutosaveInterval () const |
bool | GetCurrentAutosaveEnabled () const |
void | SetCurrentAutosaveEnabled (bool onOff) |
bool | GetCurrentShowWarning () const |
void | SetCurrentShowWarning (bool onOff) |
bool | GetCurrentUseLessAccurate () const |
void | SetCurrentUseLessAccurate (bool onOff) |
bool | GetCurrentTrackMouse () const |
void | SetCurrentTrackMouse (bool onOff) |
bool | GetCurrentShowCitation () const |
void | SetCurrentShowCitation (bool onOff) |
string | GetCurrentAutosaveName () const |
void | SetCurrentAutosaveName (string name) |
string | GetCurrentLogFileName () const |
void | SetCurrentLogFileName (string name) |
void | SetCurrentMessageSilence (bool val) |
bool | GetCurrentMessageSilence () const |
bool | GetCurrentLogfileEnabled () const |
void | SetCurrentLogfileEnabled (bool val) |
Public Member Functions inherited from VAPoR::ParamsBase | |
ParamsBase (StateSave *ssave, const string &classname) | |
ParamsBase (StateSave *ssave, XmlNode *node) | |
ParamsBase (const ParamsBase &rhs) | |
Copy constructor. | |
ParamsBase & | operator= (const ParamsBase &rhs) |
ParamsBase (ParamsBase &&)=delete | |
ParamsBase & | operator= (ParamsBase &)=delete |
bool | operator== (const ParamsBase &rhs) const |
Equivalence operator. | |
bool | operator!= (const ParamsBase &rhs) const |
virtual | ~ParamsBase () |
void | SetParent (ParamsBase *parent) |
XmlNode * | GetNode () const |
void | BeginGroup (const string &description) |
void | EndGroup () |
void | IntermediateChange () |
virtual vector< long > | GetValueLongVec (const string tag) const |
virtual vector< long > | GetValueLongVec (const string tag, const vector< long > &defaultVal) const |
virtual long | GetValueLong (const string tag, long defaultVal) const |
virtual vector< double > | GetValueDoubleVec (const string tag) const |
virtual vector< double > | GetValueDoubleVec (const string tag, const vector< double > &defaultVal) const |
virtual double | GetValueDouble (const string tag, double defaultVal) const |
virtual vector< string > | GetValueStringVec (const string tag) const |
virtual vector< string > | GetValueStringVec (const string tag, const vector< string > &defaultVal) const |
virtual string | GetValueString (const string tag, string defaultVal) const |
virtual void | SetValueLongVec (const string &tag, string description, const vector< long > &values) |
virtual void | SetValueLong (const string &tag, string description, long value) |
virtual void | SetValueDoubleVec (const string &tag, string description, const vector< double > &values) |
virtual void | SetValueDouble (const string &tag, string description, double value) |
virtual void | SetValueStringVec (const string &tag, string description, const vector< string > &values) |
virtual void | SetValueString (const string &tag, string description, const string &value) |
string | GetName () const |
Public Member Functions inherited from Wasp::MyBase | |
MyBase () | |
const string & | getClassName () const |
Static Public Member Functions | |
static string | GetClassType () |
Static Public Member Functions inherited from Wasp::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. | |
static int | GetErrCode () |
Retrieve the current error code. | |
static void | SetErrMsgCB (ErrMsgCB_T cb) |
static ErrMsgCB_T | GetErrMsgCB () |
static void | SetErrMsgFilePtr (FILE *fp) |
static const FILE * | SetErrMsgFilePtr () |
static void | SetDiagMsg (const char *format,...) |
Record a formatted diagnostic message. | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
static bool | GetEnableErrMsg () |
Additional Inherited Members | |
Public Types inherited from Wasp::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Attributes inherited from Wasp::MyBase | |
static char * | ErrMsg |
static int | ErrCode |
static int | ErrMsgSize |
static FILE * | ErrMsgFilePtr |
static ErrMsgCB_T | ErrMsgCB |
static char * | DiagMsg |
static int | DiagMsgSize |
static FILE * | DiagMsgFilePtr |
static DiagMsgCB_T | DiagMsgCB |
static bool | Enabled |
Protected Member Functions inherited from VAPoR::ParamsBase | |
ParamsBase (StateSave *ssave) | |
void | Remove (const string &name) |
const map< string, string > & | GetAttributes () |
void | Clear () |
Protected Member Functions inherited from Wasp::MyBase | |
void | SetClassName (const string &name) |
Protected Attributes inherited from VAPoR::ParamsBase | |
StateSave * | _ssave |
XmlNode * | _node |
A class for describing visual features displayed in the visualizer.
The AppSettingsParams class controls various features displayed in the visualizers There is a global AppSettingsParams, that is shared by all windows whose AppSettings is set to "global". There is also a local AppSettingsParams for each window, that users can select whenever there are multiple windows. When local settings are used, they only affect one currently active visualizer. The AppSettingsParams class also has several methods that are useful in setting up data requests from the DataMgr.
Definition at line 41 of file AppSettingsParams.h.
AppSettingsParams::AppSettingsParams | ( | VAPoR::ParamsBase::StateSave * | ssave | ) |
AppSettingsParams::AppSettingsParams | ( | VAPoR::ParamsBase::StateSave * | ssave, |
VAPoR::XmlNode * | node | ||
) |
|
virtual |
|
inline |
Definition at line 85 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
long AppSettingsParams::GetAutosaveInterval | ( | ) | const |
Obtain autosave interval
|
inline |
Definition at line 106 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueString().
|
inlinestatic |
Definition at line 168 of file AppSettingsParams.h.
|
inline |
Definition at line 132 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
long AppSettingsParams::GetCurrentAutosaveInterval | ( | ) | const |
Obtain Current autosave interval
|
inline |
Definition at line 152 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueString().
long AppSettingsParams::GetCurrentJpegQuality | ( | ) | const |
|
inline |
Definition at line 162 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 156 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueString().
|
inline |
Definition at line 160 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 148 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 136 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 144 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 140 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
long AppSettingsParams::GetJpegQuality | ( | ) | const |
Obtain jpeg quality
|
inline |
Definition at line 114 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 110 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueString().
|
inline |
Definition at line 105 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Pure virtual method on Params. Provide a short name suitable for use in the GUI
string | name |
Definition at line 51 of file AppSettingsParams.h.
|
inline |
Definition at line 99 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 89 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 95 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
|
inline |
Definition at line 92 of file AppSettingsParams.h.
References VAPoR::ParamsBase::GetValueLong().
void AppSettingsParams::restoreDefaults | ( | ) |
Restore default settings performed on user request.
|
inline |
Definition at line 87 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
void AppSettingsParams::SetAutosaveInterval | ( | int | val | ) |
Specify autosave interval
[in] | val | autosave interval >= 1 |
|
inline |
Definition at line 108 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueString().
|
inline |
Definition at line 134 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
void AppSettingsParams::SetCurrentAutosaveInterval | ( | int | val | ) |
Specify current autosave interval
[in] | val | autosave interval >= 1 |
|
inline |
Definition at line 154 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueString().
void AppSettingsParams::SetCurrentJpegQuality | ( | int | val | ) |
Specify current jpeg quality level
[in] | val | quality level (1-99) |
|
inline |
Definition at line 164 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 157 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueString().
|
inline |
Definition at line 158 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 150 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 138 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 146 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 142 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
void AppSettingsParams::SetJpegQuality | ( | int | val | ) |
Specify jpeg quality level
[in] | val | quality level (1-99) |
|
inline |
Definition at line 116 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 112 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueString().
|
inline |
Definition at line 103 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 101 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 90 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 97 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().
|
inline |
Definition at line 93 of file AppSettingsParams.h.
References VAPoR::ParamsBase::SetValueLong().