Action_Thermostats
Adding_MD_integration_tests
Adding_StructOpt_integration_tests
AutomationFragmentation_failures
Candidate_v1.6.1
ChemicalSpaceEvaluator
Enhanced_StructuralOptimization
Enhanced_StructuralOptimization_continued
Exclude_Hydrogens_annealWithBondGraph
Fix_Verbose_Codepatterns
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_continued
ForceAnnealing_with_BondGraph_continued_betteresults
ForceAnnealing_with_BondGraph_contraction-expansion
Gui_displays_atomic_force_velocity
JobMarket_RobustOnKillsSegFaults
JobMarket_StableWorkerPool
PythonUI_with_named_parameters
Recreated_GuiChecks
StoppableMakroAction
TremoloParser_IncreasedPrecision
Rev | Line | |
---|
[0188ea] | 1 | /*
|
---|
| 2 | * TextStatusIndicator.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Feb 18, 2010
|
---|
| 5 | * Author: crueger
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef TEXTSTATUSINDICATOR_HPP_
|
---|
| 9 | #define TEXTSTATUSINDICATOR_HPP_
|
---|
| 10 |
|
---|
[56f73b] | 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
[02ce36] | 17 | #include "CodePatterns/Observer/Observer.hpp"
|
---|
[0188ea] | 18 |
|
---|
[378f2d5] | 19 | namespace MoleCuilder {
|
---|
| 20 | class ActionStatusList;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 |
|
---|
[0188ea] | 24 | class TextStatusIndicator : public Observer
|
---|
| 25 | {
|
---|
| 26 | public:
|
---|
| 27 | TextStatusIndicator();
|
---|
| 28 | virtual ~TextStatusIndicator();
|
---|
| 29 |
|
---|
| 30 | void update(Observable *subject);
|
---|
| 31 | void subjectKilled(Observable *subject);
|
---|
[378f2d5] | 32 | void recieveNotification(Observable *_publisher, Notification *_notification);
|
---|
[0188ea] | 33 |
|
---|
| 34 | private:
|
---|
[378f2d5] | 35 | void displayStatusMessage() const;
|
---|
[0188ea] | 36 |
|
---|
[378f2d5] | 37 | private:
|
---|
| 38 | //!> reference to the StatusList we are signed on
|
---|
| 39 | MoleCuilder::ActionStatusList& StatusList;
|
---|
| 40 | //!> indicates whether we are currently signed on
|
---|
| 41 | bool StatusList_signedOn;
|
---|
[0188ea] | 42 | };
|
---|
| 43 |
|
---|
| 44 | #endif /* TEXTSTATUSINDICATOR_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.