FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionFAD::PostCmd
(
std::vector< uint16_t >
cmd
)
inline
Definition at line
308
of file
fadctrl.cc
.
309
{
310
if
(
fBlockTransmission
|| !
IsConnected
())
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
}
Connection::PostMessage
void PostMessage(const void *msg, size_t s=0)
ConnectionFAD::fBlockTransmission
bool fBlockTransmission
Definition:
fadctrl.cc:46
Connection::IsConnected
bool IsConnected() const
Definition:
Connection.h:145
MessageImp::Message
int Message(const std::string &str)
Definition:
MessageImp.h:46
ConnectionFAD
Generated on Sun Sep 18 2016 20:50:45 for FACT++ by
1.8.11