40int main (
int argc,
char* argv[] )
53 else if ( lOptions.
version == 2 )
int main(int argc, char *argv[])
Concrete implementation of emulator of hardware using TCP.
void run()
Concrete implementation of the run function Starts the TCP server and runs indefinitely,...
_Integer< T, IntFmt<> > Integer(const T &aT)
Forward declare a function which creates an instance of the ultra-lightweight wrapper from an integer...
void log(FatalLevel &aFatal, const T0 &aArg0)
Function to add a log entry at Fatal level.
Struct to store the dummy hardware command line options.
uint16_t port
The port used by the dummy hardware.
uint32_t version
IPbus version number - 1 or 2.
static DummyHardwareOptions parseFromCommandLine(int argc, char *argv[])
Static function to parse the command line arguments into a struct containing the information.
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.