Skip to content

Runner

class Runner

@brief The Runner class starts device-servers in the distributed system

The Runner class instantiates device-servers in the distributed system. It parses command line arguments to deduce configuration.

Functions

Name Description
instantiate Instantiates a device server taking command line arguments into account Users of this function must check the returned pointer for validity.

Function Details

instantiate

static DeviceServer::Pointer instantiate(int argc, const char** argv)

Instantiates a device server taking command line arguments into account

Users of this function must check the returned pointer for validity. The pointer may be empty in case the --help option is given.

argc : Number of commandline arguments

argv : String array of commandline options

Return : Pointer to device server instance (may be empty)