DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <EthernetDevice.hpp>
Public Member Functions | |
EthernetDevice (unsigned long ipAddress) | |
virtual bool | IsOpen () |
virtual void | Close () |
virtual void | DevicePurgeComm () |
virtual void | DevicePurgeData () |
virtual void | DeviceQueueStatus (unsigned int *numWords) |
virtual void | DeviceReceive (std::vector< unsigned int > &data, unsigned int size) |
virtual void | DeviceRead (unsigned int address, unsigned int *value) |
virtual void | DeviceReadMask (unsigned int address, unsigned int mask, unsigned int *value) |
virtual void | DeviceWrite (unsigned int address, unsigned int value) |
virtual void | DeviceWriteMask (unsigned int address, unsigned int mask, unsigned int value) |
virtual void | DeviceSet (unsigned int address, unsigned int mask) |
virtual void | DeviceClear (unsigned int address, unsigned int mask) |
virtual void | DeviceArrayRead (unsigned int address, unsigned int size, unsigned int *data) |
virtual void | DeviceArrayWrite (unsigned int address, unsigned int size, unsigned int *data) |
void | SendReceive (dunedaq::sspmodules::CtrlPacket &tx, dunedaq::sspmodules::CtrlPacket &rx, unsigned int txSize, unsigned int rxSizeExpected, unsigned int retryCount=0) |
void | SendEthernet (dunedaq::sspmodules::CtrlPacket &tx, unsigned int txSize) |
void | ReceiveEthernet (dunedaq::sspmodules::CtrlPacket &rx, unsigned int rxSizeExpected) |
void | DevicePurge (boost::asio::ip::tcp::socket &socket) |
![]() | |
virtual | ~Device () |
Private Member Functions | |
virtual void | Open (bool slowControlOnly) |
Private Attributes | |
bool | isOpen |
boost::asio::ip::tcp::socket | fCommSocket |
boost::asio::ip::tcp::socket | fDataSocket |
boost::asio::ip::address | fIP |
Static Private Attributes | |
static boost::asio::io_service | fIo_service |
Friends | |
class | DeviceManager |
Additional Inherited Members | |
![]() | |
bool | fSlowControlOnly |
Definition at line 28 of file EthernetDevice.hpp.
|
explicit |
Definition at line 21 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 62 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 196 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 219 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 190 of file EthernetDevice.cxx.
void dunedaq::sspmodules::EthernetDevice::DevicePurge | ( | boost::asio::ip::tcp::socket & | socket | ) |
Definition at line 298 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 69 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 75 of file EthernetDevice.cxx.
|
virtual |
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 102 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 122 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 88 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 184 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 143 of file EthernetDevice.cxx.
|
virtual |
Implements dunedaq::sspmodules::Device.
Definition at line 163 of file EthernetDevice.cxx.
|
inlinevirtual |
Implements dunedaq::sspmodules::Device.
Definition at line 37 of file EthernetDevice.hpp.
|
privatevirtual |
Implements dunedaq::sspmodules::Device.
Definition at line 30 of file EthernetDevice.cxx.
void dunedaq::sspmodules::EthernetDevice::ReceiveEthernet | ( | dunedaq::sspmodules::CtrlPacket & | rx, |
unsigned int | rxSizeExpected ) |
Definition at line 289 of file EthernetDevice.cxx.
void dunedaq::sspmodules::EthernetDevice::SendEthernet | ( | dunedaq::sspmodules::CtrlPacket & | tx, |
unsigned int | txSize ) |
Definition at line 280 of file EthernetDevice.cxx.
void dunedaq::sspmodules::EthernetDevice::SendReceive | ( | dunedaq::sspmodules::CtrlPacket & | tx, |
dunedaq::sspmodules::CtrlPacket & | rx, | ||
unsigned int | txSize, | ||
unsigned int | rxSizeExpected, | ||
unsigned int | retryCount = 0 ) |
Definition at line 247 of file EthernetDevice.cxx.
|
friend |
Definition at line 79 of file EthernetDevice.hpp.
|
private |
Definition at line 85 of file EthernetDevice.hpp.
|
private |
Definition at line 86 of file EthernetDevice.hpp.
|
staticprivate |
Definition at line 83 of file EthernetDevice.hpp.
|
private |
Definition at line 88 of file EthernetDevice.hpp.
|
private |
Definition at line 81 of file EthernetDevice.hpp.