otsdaq_components  v2_05_02_indev
ots::OtsUDPFirmwareDataGen Class Reference
Inheritance diagram for ots::OtsUDPFirmwareDataGen:
ots::OtsUDPFirmwareCore ots::FrontEndFirmwareBase ots::FEOtsUDPProducerTemplateInterface ots::FEOtsUDPTemplateInterface

Public Member Functions

 OtsUDPFirmwareDataGen (unsigned int version)
 
virtual void init (void)
 
- Public Member Functions inherited from ots::OtsUDPFirmwareCore
 OtsUDPFirmwareCore (unsigned int version)
 
virtual std::string write (char *address, char *data)
 
virtual void write (std::string &buffer, char *address, char *data, bool clearBuffer=true)
 
virtual void write (std::string &buffer, uint32_t address, uint32_t data, bool clearBuffer=true)
 
virtual void write (std::string &buffer, uint64_t address, uint64_t data, bool clearBuffer=true)
 
virtual void waitClear (std::string &, uint32_t, uint32_t, uint32_t=255, bool=true)
 
virtual std::string read (char *address)
 
virtual void read (std::string &buffer, char *address, bool clearBuffer=true)
 
virtual void read (std::string &buffer, uint64_t address, bool clearBuffer=true)
 
virtual void read (std::string &buffer, uint32_t address, bool clearBuffer=true)
 
virtual void setDataDestination (std::string &buffer, const std::string &ip, const uint16_t port, bool clearBuffer=true)
 
virtual uint32_t createRegisterFromValue (std::string &readBuffer, std::string &receivedValue)
 
void writeAdvanced (std::string &buffer, const char *address, const char *data, uint8_t size=1, uint8_t commandTypeOptions=0, bool clearBuffer=true)
 
void writeAdvanced (std::string &buffer, const uint64_t &address, const char *data, uint8_t size, uint8_t commandTypeOptions=0, bool clearBuffer=true)
 
void writeAdvanced (std::string &buffer, const uint64_t &address, const uint64_t &data, uint8_t commandTypeOptions=0, bool clearBuffer=true)
 
void writeAdvanced (std::string &buffer, const uint64_t &address, const std::vector< uint64_t > &data, uint8_t commandTypeOptions=0, bool clearBuffer=true)
 
void readAdvanced (std::string &buffer, char *address, uint8_t size=1, uint8_t commandTypeOptions=0, bool clearBuffer=true)
 
void readAdvanced (std::string &buffer, const uint64_t &address, uint8_t size=1, uint8_t commandTypeOptions=0, bool clearBuffer=true)
 
void writeDataDestinationIP (std::string &buffer, const uint64_t value, bool clearBuffer=true)
 
void writeDataDestinationMAC (std::string &buffer, const uint64_t value, bool clearBuffer=true)
 
void writeDataDestinationPort (std::string &buffer, const uint64_t value, bool clearBuffer=true)
 
void readDataDestinationIP (std::string &buffer)
 
void readDataDestinationMAC (std::string &buffer)
 
void readDataDestinationPort (std::string &buffer)
 
void setDataDestinationAsSelf (std::string &buffer)
 
virtual void setControlDestination (std::string &buffer, const std::string &ip, const uint16_t port)
 
void writeControlDestinationIP (std::string &buffer, const uint64_t value)
 
void writeControlDestinationMAC (std::string &buffer, const uint64_t value)
 
void writeControlDestinationPort (std::string &buffer, const uint64_t value)
 
void readControlDestinationIP (std::string &buffer)
 
void readControlDestinationMAC (std::string &buffer)
 
void readControlDestinationPort (std::string &buffer)
 
void setControlDestinationAsSelf (std::string &buffer)
 
void UDPFirmwareSpecialPing (std::string &buffer)
 
void UDPFirmwareSpecialNoOp (std::string &buffer)
 
void readUDPFirmwareVersion (std::string &buffer)
 
void softEthernetReset (std::string &buffer)
 
void hardEthernetReset (std::string &buffer)
 
void clearEthernetReset (std::string &buffer)
 
void startBurst (std::string &buffer)
 
void stopBurst (std::string &buffer)
 
- Public Member Functions inherited from ots::FrontEndFirmwareBase
 FrontEndFirmwareBase (unsigned int version=-1)
 
unsigned int getVersion ()
 
virtual void waitSet (std::string &, uint32_t, uint32_t, uint32_t=255, bool=true)
 
virtual unsigned int getNumberOfBufferedCommands (std::string &)
 

Protected Member Functions

void setNumberOfBurstWords (std::string &buffer, uint64_t numberOfWords)
 
void setBurstWordsRate (std::string &buffer, uint64_t interval)
 

Additional Inherited Members

- Public Attributes inherited from ots::FrontEndFirmwareBase
const unsigned int version_
 
- Static Public Attributes inherited from ots::OtsUDPFirmwareCore
static const uint8_t FIFO_ADDRESS_CMD_TYPE = (1 << 3)
 

Detailed Description

Definition at line 10 of file OtsUDPFirmwareDataGen.h.


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