Changeset 254 in flair-src for trunk/lib/FlairCore/src
- Timestamp:
- Jul 16, 2018, 3:36:47 PM (6 years ago)
- Location:
- trunk/lib/FlairCore/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/FrameworkManager.h
r213 r254 77 77 * \param rcv_buf_size receive buffer size 78 78 */ 79 void SetupConnection(std::string address, uint16_t port,Time watchdogTimeout=(Time)1 000000000,79 void SetupConnection(std::string address, uint16_t port,Time watchdogTimeout=(Time)1500000000, 80 80 size_t rcv_buf_size = 10000); 81 81 -
trunk/lib/FlairCore/src/FrameworkManager_impl.cpp
r243 r254 139 139 } 140 140 141 void FrameworkManager_impl:: ConnectionLost(void) {141 void FrameworkManager_impl::SetConnectionLost(void) { 142 142 Err("connection lost\n"); 143 143 if(gcs_watchdog!=NULL) gcs_watchdog->SafeStop(); … … 241 241 // watchdog for connection with ground station 242 242 connection_lost = false; 243 gcs_watchdog = new Watchdog(this, std::bind(&FrameworkManager_impl:: ConnectionLost, this),watchdogTimeout);243 gcs_watchdog = new Watchdog(this, std::bind(&FrameworkManager_impl::SetConnectionLost, this),watchdogTimeout); 244 244 gcs_watchdog->Start(); 245 245 } -
trunk/lib/FlairCore/src/unexported/FrameworkManager_impl.h
r234 r254 125 125 std::vector<std::string> xml_changes; 126 126 flair::core::Watchdog *gcs_watchdog; 127 void ConnectionLost(void);127 void SetConnectionLost(void); 128 128 }; 129 129
Note:
See TracChangeset
for help on using the changeset viewer.