- Timestamp:
- Mar 9, 2017, 10:16:58 PM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
- Children:
- f67dfb
- Parents:
- c300e2
- git-author:
- Frederik Heber <heber@…> (02/23/17 14:26:57)
- git-committer:
- Frederik Heber <heber@…> (03/09/17 22:16:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/JobMarket/src/JobMarket/Operations/Operation.hpp
rc300e2 r8e7a1b 34 34 Operation(const std::string &_name, Connection &_connection) : 35 35 connection_(_connection), 36 status(not_started), 36 37 name(_name) 37 38 {} … … 56 57 } 57 58 59 //!> enumeration of status codes of the operation 60 enum StatusCodes { 61 not_started, 62 running, 63 error, 64 success 65 }; 66 67 /** Returns the current status of the operation. 68 * 69 * \return status code 70 */ 71 enum StatusCodes getStatus() const { 72 return status; 73 } 74 58 75 protected: 59 // /The Connection to the server.76 //!> The Connection to the server. 60 77 Connection &connection_; 61 78 79 //!> current status of the operation 80 enum StatusCodes status; 81 62 82 private: 63 // /Name of this AsyncOperation (required for Registry pattern)83 //!> Name of this AsyncOperation (required for Registry pattern) 64 84 std::string name; 65 85 };
Note:
See TracChangeset
for help on using the changeset viewer.