38 int main (
int argc,
char* argv[] )
51 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.
Concrete implementation of emulator of hardware using TCP.
Struct to store the dummy hardware command line options.
int main(int argc, char *argv[])
uint32_t version
IPbus version number - 1 or 2.
uint16_t port
The port used by the dummy hardware.
void run()
Concrete implementation of the run function Starts the TCP server and runs indefinitely, until exception or user kills the server.
_Integer< T, IntFmt<> > Integer(const T &aT)
Forward declare a function which creates an instance of the ultra-lightweight wrapper from an integer...