FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionFAD::PostCmd
(
uint16_t
cmd
,
uint16_t
data
)
inline
Definition at line
340
of file
fadctrl.cc
.
References
data
.
341
{
342
if
(
fBlockTransmission
|| !
IsConnected
())
343
return
;
344
345
#ifdef DEBUG_TX
346
ostringstream msg;
347
msg <<
"Sending command:"
<< hex;
348
msg <<
" 0x"
<< setw(4) << setfill(
'0'
) << cmd;
349
msg <<
" 0x"
<< setw(4) << setfill(
'0'
) <<
data
;
350
Message
(msg);
351
#endif
352
const
uint16_t d[2] = { htons(cmd), htons(data) };
353
PostMessage
(d,
sizeof
(d));
354
}
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
data
float data[4 *1440]
Definition:
EventBuilderWrapper.h:95
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