35 #include "uhal/log/log.hpp" 43 int main (
int argc,
char* argv[] )
52 else if ( lOptions.
version == 2 )
uint32_t delay
The delay in seconds between the request and response of the first IPbus transaction.
bool bigendian
Whether we use the big-endian hack.
static DummyHardwareOptions parseFromCommandLine(int argc, char *argv[])
Static function to parse the command line arguments into a struct containing the information.
void run()
Concrete implementation of the run function Starts the UDP server and runs indefinitely, until exception or user kills the server.
int main(int argc, char *argv[])
Struct to store the dummy hardware command line options.
Concrete implementation of emulator of hardware using UDP.
uint32_t version
IPbus version number - 1 or 2.
uint16_t port
The port used by the dummy hardware.
_Integer< T, IntFmt<> > Integer(const T &aT)
Forward declare a function which creates an instance of the ultra-lightweight wrapper from an integer...