OTX-Runtime for C++  
IScreenHandle.h
1 #ifndef OpenTestSystem_Otx_Runtime_Api_Custom_CustomScreenImplementation_IScreenHandle_H
2 #define OpenTestSystem_Otx_Runtime_Api_Custom_CustomScreenImplementation_IScreenHandle_H
3 
4 #include "ApiDefs.h"
5 #include <string>
6 #include <memory>
7 #include <vector>
8 #include <map>
9 
10 namespace OpenTestSystem { namespace Otx { namespace Runtime { namespace Api { namespace Custom {
14  namespace CustomScreenImplementation
15  {
22  class API_EXPORTS IScreenHandle {
23  public:
24  virtual ~IScreenHandle(){}
25 
33  virtual std::string GetScreenId() = 0;
34 
39  virtual std::string GetScreenSignatureName() = 0;
40 
45  virtual std::string GetMappingName() = 0;
46 
51  virtual std::string GetAppId() = 0;
52 
56  virtual void RaiseScreenClosedEvent() = 0;
57 
78  virtual std::map<std::string, std::string> GetExternalApps() = 0;
79  };
80  }
81 }}}}}
82 #endif
Represents an handle to an OTX screen instance.
Definition: IScreenHandle.h:22
virtual std::map< std::string, std::string > GetExternalApps()=0
Gets all externals applications of current OTX mapping
virtual void RaiseScreenClosedEvent()=0
Signals the OTX-Runtime that a screen was closed and a ScreenClosedEvent should be raised.
virtual std::string GetAppId()=0
Gets the Id of the mapped external application.
virtual std::string GetScreenSignatureName()=0
Gets full name of ScreenSignature.
Namespace containing all objects related to testing inside automotive industry