FACT++  1.0
void ConnectionFAD::PostCmd ( std::vector< uint16_t >  cmd)
inline

Definition at line 308 of file fadctrl.cc.

309  {
311  return;
312 
313 #ifdef DEBUG_TX
314  ostringstream msg;
315  msg << "Sending command:" << hex;
316  msg << " 0x" << setw(4) << setfill('0') << cmd[0];
317  msg << " (+ " << cmd.size()-1 << " bytes data)";
318  Message(msg);
319 #endif
320  transform(cmd.begin(), cmd.end(), cmd.begin(), htons);
321 
322  PostMessage(cmd);
323  }
void PostMessage(const void *msg, size_t s=0)
bool fBlockTransmission
Definition: fadctrl.cc:46
bool IsConnected() const
Definition: Connection.h:145
int Message(const std::string &str)
Definition: MessageImp.h:46