FACT++  1.0
void ConnectionAgilent::PowerCycle ( uint16_t  seconds)
inline

Definition at line 260 of file agilentctrl.cc.

References HandlePowerCycle().

261  {
262  if (!SetPower(false))
263  return;
264 
265  fTimeoutPowerCycle.expires_from_now(boost::posix_time::seconds(seconds));
267  this, dummy::error));
268  }
boost::asio::deadline_timer fTimeoutPowerCycle
Definition: agilentctrl.cc:36
void HandlePowerCycle(const bs::error_code &error)
Definition: agilentctrl.cc:92
bool SetPower(bool on)
Definition: agilentctrl.cc:240

+ Here is the call graph for this function: