Commit 2d361518 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Add interface for configurations - WIP

parent 56875f7d
......@@ -13,6 +13,7 @@ set( DirFiles
update_config.h
update_scene.h
types.h
config.h
#_SourceFiles.cmake
)
......
#ifndef INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_CONFIG
#define INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_CONFIG
// std includes
#include <string>
// API includes
#include <ITA/simulation_scheduler/definitions.h>
namespace ITA
{
namespace simulation_scheduler
{
///
/// \brief Interface for configurations
///
/// This interface defines functions for loading and saving configuration form and to .ini files.
///
class ITA_SIMULATION_SCHEDULER_API IConfig
{
///
/// \brief Load a configuration form a ini file.
/// \param sPath file path to the ini file to load from.
///
virtual void load ( const std::string& sPath) = 0;
///
/// \brief Store a configuration to a ini file.
/// \param sPath file path to the ini file to store in.
///
virtual void store ( const std::string& sPath ) = 0;
};
} // namespace simulation_scheduler
} // namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_CONFIG
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment