OTX-Runtime for C++  
IPlayerProject.h
1 #ifndef OpenTestSystem_Otx_Runtime_Api_Project_IPlayerProject_H
2 #define OpenTestSystem_Otx_Runtime_Api_Project_IPlayerProject_H
3 
4 #include "ApiDefs.h"
5 
6 #include <string>
7 #include <map>
8 #include <vector>
9 #include <memory>
10 
11 namespace OpenTestSystem { namespace Otx { namespace Runtime { namespace Api { namespace Project { namespace Settings {
12  class IProjectSettings;
13 }}}}}}
14 
15 namespace OpenTestSystem { namespace Otx { namespace Runtime { namespace Api { namespace Project {
16  class IProject;
17 }}}}}
18 
19 namespace OpenTestSystem { namespace Otx { namespace Runtime { namespace Api { namespace Project {
23  class API_EXPORTS IPlayerProject
24  {
25  public:
26  virtual ~IPlayerProject() {}
27 
32  virtual std::string GetName() = 0;
33 
38  virtual std::string GetVersion() = 0;
39 
44  virtual std::string GetPlaylistPath() = 0;
45 
50  virtual std::string GetPlayerLayoutPath() = 0;
51 
56  virtual std::vector<std::shared_ptr<IProject>> GetProjects() = 0;
57 
62  virtual void SetSettings(std::map<std::string, std::string> settings) = 0;
63 
68  virtual std::map<std::string, std::string> GetSettings() = 0;
69 
74  virtual std::shared_ptr<Settings::IProjectSettings> GetProjectSettings() = 0;
75 
76  };
77 }}}}}
78 #endif
Contains Projects.
Definition: IPlayerProject.h:24
virtual std::string GetVersion()=0
Gets PlayerProject version.
virtual std::shared_ptr< Settings::IProjectSettings > GetProjectSettings()=0
virtual void SetSettings(std::map< std::string, std::string > settings)=0
Sets the Project Settings as a map of names and values. Only the name value pairs in the given map wi...
virtual std::map< std::string, std::string > GetSettings()=0
Gets all available Project Settings as a map of names and values.
virtual std::string GetPlaylistPath()=0
Gets Playlist path.
virtual std::vector< std::shared_ptr< IProject > > GetProjects()=0
Gets all Projects.
virtual std::string GetPlayerLayoutPath()=0
Gets Layout path.
virtual std::string GetName()=0
Gets PlayerProject name.
Namespace containing all objects related to testing inside automotive industry