holoscan::DataExporter
holoscan::DataExporter
holoscan::DataExporter
A base class to support exporting Holoscan application data for Federated Analytics.
This class will create a directory with the application name passed to the constructor. It will also create a subdirectory based on the current timestamp within the application directory.
The root directory for the application data can be specified by using environment variable HOLOSCAN_ANALYTICS_DATA_DIRECTORY. If not specified, it will default to current application directory.
A pure virtual function that needs to be implemented by subclasses to export the data in required format.
Parameters
The data to be written to the CSV file.
Return the application name.
Returns a data directory name.
Remove the data directory and its contents.
Create a data directory with the current timestamp inside the application directory.
Get the value of analytics data directory environment variable HOLOSCAN_ANALYTICS_DATA_DIRECTORY.
Returns: A string if the environment variable is set else it returns error code.