ots::OtsUDPHardware Class Reference

Inheritance diagram for ots::OtsUDPHardware:
ots::FrontEndHardwareBase ots::FEOtsUDPProducerTemplateInterface ots::FEOtsUDPTemplateInterface

List of all members.

Public Member Functions

 OtsUDPHardware (std::string hostIPAddress, unsigned int hostPort, std::string boardIPAddress, unsigned int boardPort, unsigned int version=-1, bool verbose=false)
virtual void write (const std::string &sendBuffer) throw (std::runtime_error)
virtual void write (const std::vector< std::string > &sendBuffers) throw (std::runtime_error)
virtual void writeAndAcknowledge (const std::string &sendBuffer, int timeoutSeconds=-1) throw (std::runtime_error)
virtual void writeAndAcknowledge (const std::vector< std::string > &sendBuffers, int timeoutSeconds=-1) throw (std::runtime_error)
virtual void read (const std::string &sendBuffer, std::string &receiveBuffer, int timeoutSeconds=-1) throw (std::runtime_error)
virtual void read (const std::vector< std::string > &sendBuffers, std::vector< std::string > &receiveBuffers, int timeoutSeconds=-1) throw (std::runtime_error)
virtual int flushRead () throw (std::runtime_error)
void read (const std::string &sendBuffer, uint64_t &receiveQuadWord, int timeoutSeconds=-1) throw (std::runtime_error)
void read (const std::string &sendBuffer, std::vector< uint64_t > &receiveQuadWords, int timeoutSeconds=-1) throw (std::runtime_error)
void read (const std::vector< std::string > &sendBuffers, std::vector< std::vector< uint64_t > > &receiveQuadWordsVector, int timeoutSeconds=-1) throw (std::runtime_error)
int clearReadSocket ()

Protected Member Functions

 OtsUDPHardware (std::string boardIPAddress, unsigned int boardPort, unsigned int version=-1, bool verbose=false)

Protected Attributes

Socket OtsUDPBoard_
std::string acknowledgment_
bool verbose_

Detailed Description

Definition at line 10 of file OtsUDPHardware.h.


The documentation for this class was generated from the following files:

Generated on 13 Feb 2019 for otsdaq_components by  doxygen 1.6.1