FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
ConnectionFAD::ConnectionFAD
(
ba::io_service &
ioservice
,
MessageImp
&
imp
,
uint16_t
slot
)
inline
Definition at line
357
of file
fadctrl.cc
.
References
kMaxBins
, and
kNumChannels
.
357
:
358
Connection
(ioservice, imp()),
fSlot
(slot),
359
fIsVerbose
(
false
),
fIsHexOutput
(
false
),
fIsDataOutput
(
false
),
360
fBlockTransmission
(
false
),
fCounter
(0),
361
fTargetRoi
(
FAD::kNumChannels
)
362
{
363
// Maximum possible needed space:
364
// The full header, all channels with all DRS bins
365
// Two trailing shorts
366
fBuffer
.reserve(
sizeof
(FAD::EventHeader) +
FAD::kNumChannels
*(
sizeof
(FAD::ChannelHeader) +
FAD::kMaxBins
*
sizeof
(uint16_t)) + 2*
sizeof
(uint16_t));
367
368
SetLogStream
(&imp);
369
}
ConnectionFAD::fSlot
uint16_t fSlot
Definition:
fadctrl.cc:33
ConnectionFAD::fTargetRoi
vector< uint16_t > fTargetRoi
Definition:
fadctrl.cc:51
ConnectionFAD::fIsDataOutput
bool fIsDataOutput
Definition:
fadctrl.cc:45
ConnectionFAD::fBlockTransmission
bool fBlockTransmission
Definition:
fadctrl.cc:46
ConnectionFAD::fIsVerbose
bool fIsVerbose
Definition:
fadctrl.cc:43
kMaxBins
Definition:
HeadersFAD.h:87
ConnectionFAD::fCounter
uint64_t fCounter
Definition:
fadctrl.cc:48
ConnectionFAD::fBuffer
vector< uint16_t > fBuffer
Definition:
fadctrl.cc:36
Connection::SetLogStream
void SetLogStream(MessageImp *log)
Definition:
Connection.h:50
kNumChannels
Definition:
HeadersFAD.h:92
Connection::Connection
Connection(boost::asio::io_service &io_service, std::ostream &out)
Definition:
Connection.cc:454
ConnectionFAD::fIsHexOutput
bool fIsHexOutput
Definition:
fadctrl.cc:44
ConnectionFAD
Generated on Sun Sep 18 2016 20:50:45 for FACT++ by
1.8.11