Changeset d6fe76 for src/Fragmentation
- Timestamp:
- May 17, 2012, 3:21:54 PM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 9948a7
- Parents:
- 167b63
- git-author:
- Frederik Heber <heber@…> (12/11/11 16:44:18)
- git-committer:
- Frederik Heber <heber@…> (05/17/12 15:21:54)
- Location:
- src/Fragmentation/Automation/Controller/Commands
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Automation/Controller/Commands/CheckResultsOperation.cpp
r167b63 rd6fe76 117 117 disconnect(); 118 118 } 119 120 void CheckResultsOperation::handle_connect(const boost::system::error_code& e, 121 boost::asio::ip::tcp::resolver::iterator endpoint_iterator) 122 {} 123 -
src/Fragmentation/Automation/Controller/Commands/CheckResultsOperation.hpp
r167b63 rd6fe76 36 36 virtual void operator()(); 37 37 38 // virtual function pointer to the connection handler 39 virtual void handle_connect(const boost::system::error_code& e, 40 boost::asio::ip::tcp::resolver::iterator endpoint_iterator); 41 38 42 /// Handle completion of a CheckResults operation. 39 43 void handle_connect_check(const boost::system::error_code& e, -
src/Fragmentation/Automation/Controller/Commands/Operation.cpp
r167b63 rd6fe76 96 96 } 97 97 98 void Operation::testfunction(const std::string& _host, const std::string& _service) 99 { 100 Info info(__FUNCTION__); 101 // Resolve the host name into an IP address. 102 boost::asio::ip::tcp::resolver resolver(connection_.socket().get_io_service()); 103 boost::asio::ip::tcp::resolver::query query(_host, _service); 104 boost::asio::ip::tcp::resolver::iterator endpoint_iterator = 105 resolver.resolve(query); 106 boost::asio::ip::tcp::endpoint endpoint = *endpoint_iterator; 107 108 // Start an asynchronous connect operation. 109 std::cout << "Connecting to endpoint " << endpoint << " ..." << std::endl; 110 connection_.socket().async_connect(endpoint, 111 boost::bind(&Operation::handle_connect, this, 112 boost::asio::placeholders::error, ++endpoint_iterator)); 113 } -
src/Fragmentation/Automation/Controller/Commands/Operation.hpp
r167b63 rd6fe76 30 30 // virtual function pointer to the operation to do 31 31 virtual void operator()() = 0; 32 33 // virtual function pointer to the connection handler 34 virtual void handle_connect(const boost::system::error_code& e, 35 boost::asio::ip::tcp::resolver::iterator endpoint_iterator) = 0; 36 37 void testfunction(const std::string& _host, const std::string& _service); 32 38 33 39 /// Handle completion of an operation. -
src/Fragmentation/Automation/Controller/Commands/ReceiveJobsOperation.cpp
r167b63 rd6fe76 150 150 disconnect(); 151 151 } 152 153 void ReceiveJobsOperation::handle_connect(const boost::system::error_code& e, 154 boost::asio::ip::tcp::resolver::iterator endpoint_iterator) 155 {} 156 -
src/Fragmentation/Automation/Controller/Commands/ReceiveJobsOperation.hpp
r167b63 rd6fe76 35 35 virtual void operator()(); 36 36 37 // virtual function pointer to the connection handler 38 virtual void handle_connect(const boost::system::error_code& e, 39 boost::asio::ip::tcp::resolver::iterator endpoint_iterator); 40 37 41 /// Handle completion of a calculate operation. 38 42 void handle_connect_calc(const boost::system::error_code& e, -
src/Fragmentation/Automation/Controller/Commands/SendResultsOperation.cpp
r167b63 rd6fe76 148 148 } 149 149 150 void SendResultsOperation::handle_connect(const boost::system::error_code& e, 151 boost::asio::ip::tcp::resolver::iterator endpoint_iterator) 152 {} -
src/Fragmentation/Automation/Controller/Commands/SendResultsOperation.hpp
r167b63 rd6fe76 35 35 virtual void operator()(); 36 36 37 // virtual function pointer to the connection handler 38 virtual void handle_connect(const boost::system::error_code& e, 39 boost::asio::ip::tcp::resolver::iterator endpoint_iterator); 40 37 41 /// Handle completion of a GetResults operation. 38 42 void handle_connect_get(const boost::system::error_code& e, -
src/Fragmentation/Automation/Controller/Commands/ShutdownOperation.cpp
r167b63 rd6fe76 94 94 } 95 95 96 void ShutdownOperation::handle_connect(const boost::system::error_code& e, 97 boost::asio::ip::tcp::resolver::iterator endpoint_iterator) 98 {} -
src/Fragmentation/Automation/Controller/Commands/ShutdownOperation.hpp
r167b63 rd6fe76 34 34 virtual void operator()(); 35 35 36 // virtual function pointer to the connection handler 37 virtual void handle_connect(const boost::system::error_code& e, 38 boost::asio::ip::tcp::resolver::iterator endpoint_iterator); 39 36 40 /// Handle completion of a Shutdown operation. 37 41 void handle_connect_shutdown(const boost::system::error_code& e,
Note:
See TracChangeset
for help on using the changeset viewer.