otsdaq_components  v2_05_02_indev
ots::OtsUDPHardware Class Reference
Inheritance diagram for ots::OtsUDPHardware:
ots::FrontEndHardwareBase ots::FEOtsUDPProducerTemplateInterface ots::FEOtsUDPTemplateInterface

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)
 
virtual void write (const std::vector< std::string > &sendBuffers)
 
virtual void writeAndAcknowledge (const std::string &sendBuffer, int timeoutSeconds=-1)
 
virtual void writeAndAcknowledge (const std::vector< std::string > &sendBuffers, int timeoutSeconds=-1)
 
virtual void read (const std::string &sendBuffer, std::string &receiveBuffer, int timeoutSeconds=-1)
 
virtual void read (const std::vector< std::string > &sendBuffers, std::vector< std::string > &receiveBuffers, int timeoutSeconds=-1)
 
virtual int flushRead ()
 
void read (const std::string &sendBuffer, uint64_t &receiveQuadWord, int timeoutSeconds=-1)
 
void read (const std::string &sendBuffer, std::vector< uint64_t > &receiveQuadWords, int timeoutSeconds=-1)
 
void read (const std::vector< std::string > &sendBuffers, std::vector< std::vector< uint64_t > > &receiveQuadWordsVector, int timeoutSeconds=-1)
 
int clearReadSocket ()
 
- Public Member Functions inherited from ots::FrontEndHardwareBase
 FrontEndHardwareBase (unsigned int version=-1)
 

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_
 
- Protected Attributes inherited from ots::FrontEndHardwareBase
unsigned int version_
 

Detailed Description

Definition at line 9 of file OtsUDPHardware.h.


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