Skip to content

Add IDataSink::init()

Karol Krizka requested to merge sinkinit into devel

Adds a new method, IDataSink::init(), that should be called after the data sink has been configured to initialize the object. It is called by DataSinkConf right after setConfiguration. This mirrors ICom::init().

It is used as follows: CSVSink: Creates the output directory, if necessary. InfluxDBSink: Create the influxdb-cpp object and check if database exists.

Also took the opportunity to move DataSinkConf and EquipConf to use labRemote's logging functions to print error messages.

Merge request reports

Loading