FACT++  1.0
void ConnectionFAD::PostCmd ( uint16_t  cmd)
inline

Definition at line 325 of file fadctrl.cc.

326  {
328  return;
329 
330 #ifdef DEBUG_TX
331  ostringstream msg;
332  msg << "Sending command:" << hex;
333  msg << " 0x" << setw(4) << setfill('0') << cmd;
334  Message(msg);
335 #endif
336  cmd = htons(cmd);
337  PostMessage(&cmd, sizeof(uint16_t));
338  }
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