FEDEM Solver
R8.0
Source code of the dynamics solver
|
Interface class for various user feedback. More...
#include <FFaMsg.H>
Public Types | |
enum | FFaDialogType { DISMISS_WARNING , DISMISS_ERROR , DISMISS_INFO , WARNING , ERROR , OK , OK_CANCEL , YES_NO , YES_NO_CANCEL , _ALL_ , OK_ALL_CANCEL , YES_ALL_NO , YES_ALL_NO_ALL , YES_ALL_NO_CANCEL , YES_ALL_NO_ALL_CANCEL , YES_NO_ALL , YES_NO_ALL_CANCEL , GENERIC } |
Enums defining various dialog box types. More... | |
Public Member Functions | |
FFaMsg () | |
Default constructor. More... | |
virtual | ~FFaMsg () |
Empty destructor. More... | |
virtual bool | openListFile (const char *=NULL, bool=false) |
Opens a list file containing a copy of the output list window. More... | |
virtual void | closeListFile () |
Closes the list file. More... | |
Static Public Member Functions | |
static void | setMessager (FFaMsg *messager=NULL) |
Sets the real messager object to be used. More... | |
static FFaMsg & | getMessager () |
Returns the current messager object. More... | |
static bool | usingDefault () |
Returns true if we are using the default messager. More... | |
static void | resetToAllAnswer (const FFaDialogType type=_ALL_) |
static int | dialog (const std::string &message, const FFaDialogType type=DISMISS_WARNING, const char **genericButtons=(const char **) NULL) |
Shows a dialog according to the dialog type. More... | |
static int | dialog (const std::string &message, const FFaDialogType type, const std::vector< std::string > &buttonTexts) |
static int | dialog (int &returnedSelectionIdx, const std::string &message, const FFaDialogType type, const std::vector< std::string > &buttonTexts, const std::vector< std::string > &selectionList) |
static void | list (const std::string &str, bool onScreen=false) |
static void | tip (const std::string &str) |
static void | setStatus (const std::string &statusText) |
static void | changeStatus (const std::string &statusText) |
static void | pushStatus (const std::string &statusText) |
static void | popStatus () |
static void | enableSubSteps (int steps) |
static void | setSubStep (int step) |
static void | disableSubSteps () |
static void | displayTime (int hour, int min, int sec) |
static void | clearTime () |
static void | setSubTask (const std::string &taskText) |
static void | enableProgress (int nSteps) |
static void | setProgress (int progressStep) |
static void | disableProgress () |
Protected Member Functions | |
virtual int | dialogVt (const std::string &message, const FFaDialogType type, const char **genericButtons) |
virtual int | dialogVt (const std::string &message, const FFaDialogType type, const std::vector< std::string > &buttonTexts) |
virtual int | dialogVt (int &returnedSelectionIdx, const std::string &message, const FFaDialogType type, const std::vector< std::string > &buttonTexts, const std::vector< std::string > &selectionList) |
virtual void | listVt (const std::string &str, bool onScreen=false) |
virtual void | tipVt (const std::string &str) |
virtual void | setStatusVt (const std::string &) |
virtual void | changeStatusVt (const std::string &) |
virtual void | pushStatusVt (const std::string &) |
virtual void | popStatusVt () |
virtual void | enableSubStepsVt (int) |
virtual void | setSubStepVt (int) |
virtual void | disableSubStepsVt () |
virtual void | displayTimeVt (int, int, int) |
virtual void | clearTimeVt () |
virtual void | setSubTaskVt (const std::string &) |
virtual void | enableProgressVt (int) |
virtual void | setProgressVt (int) |
virtual void | disableProgressVt () |
Static Protected Member Functions | |
static void | showStatus () |
Static Protected Attributes | |
static std::stack< std::string > | ourStatuses |
Static Private Attributes | |
static std::map< FFaDialogType, int > | ourToAllAnswer |
static FFaMsg * | ourCurrentMessager = NULL |
Friends | |
FFaMsg & | operator<< (FFaMsg &, const std::string &) |
FFaMsg & | operator<< (FFaMsg &, const char *) |
FFaMsg & | operator<< (FFaMsg &, const FaVec3 &) |
FFaMsg & | operator<< (FFaMsg &, double) |
FFaMsg & | operator<< (FFaMsg &, char) |
FFaMsg & | operator<< (FFaMsg &, int) |
FFaMsg & | operator<< (FFaMsg &, long long int) |
FFaMsg & | operator<< (FFaMsg &, size_t) |
Interface class for various user feedback.
|
inline |
Default constructor.
|
inlinevirtual |
Empty destructor.
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
inlinevirtual |
Closes the list file.
|
static |
|
static |
Shows a dialog according to the dialog type.
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
Returns the current messager object.
|
static |
|
protectedvirtual |
Reimplemented in F90Msg.
|
inlinevirtual |
Opens a list file containing a copy of the output list window.
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
static |
Sets the real messager object to be used.
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
static |
|
inlineprotectedvirtual |
|
staticprotected |
|
static |
|
protectedvirtual |
|
inlinestatic |
Returns true if we are using the default messager.
|
staticprivate |
|
staticprotected |
|
staticprivate |