From 958a34ae8c5c6f25ba73640b9e7f9998b23fd62a Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Thu, 12 Sep 2013 10:59:47 +0200 Subject: * added some documentation, removed sample project since it seems to addle users. Now the fidls are the matching final the EA version. Signed-off-by: Christian Linke --- .../genivi/NodeStateManager/ConsumerProxyBase.h | 99 ---------------------- 1 file changed, 99 deletions(-) delete mode 100644 src-gen/org/genivi/NodeStateManager/ConsumerProxyBase.h (limited to 'src-gen/org/genivi/NodeStateManager/ConsumerProxyBase.h') diff --git a/src-gen/org/genivi/NodeStateManager/ConsumerProxyBase.h b/src-gen/org/genivi/NodeStateManager/ConsumerProxyBase.h deleted file mode 100644 index a226480..0000000 --- a/src-gen/org/genivi/NodeStateManager/ConsumerProxyBase.h +++ /dev/null @@ -1,99 +0,0 @@ - /* - * This file was generated by the CommonAPI Generators. - * - * Copyright (C) 2013, BMW AG - * - * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013 - */ - #ifndef ORG_GENIVI_NODESTATEMANAGER_Consumer_PROXY_BASE_H_ - #define ORG_GENIVI_NODESTATEMANAGER_Consumer_PROXY_BASE_H_ - - #include "Consumer.h" - - - - #define COMMONAPI_INTERNAL_COMPILATION - - - #include - #include - #include - #include - #include - - #undef COMMONAPI_INTERNAL_COMPILATION - - namespace org { - namespace genivi { - namespace NodeStateManager { - - class ConsumerProxyBase: virtual public CommonAPI::Proxy { - public: - typedef CommonAPI::ReadonlyAttribute BootModeAttribute; - typedef CommonAPI::ReadonlyAttribute RestartReasonAttribute; - typedef CommonAPI::ReadonlyAttribute ShutdownReasonAttribute; - typedef CommonAPI::ReadonlyAttribute WakeUpReasonAttribute; - typedef CommonAPI::Event NodeApplicationModeEvent; - typedef CommonAPI::Event SessionStateChangedEvent; - typedef CommonAPI::Event NodeStateEvent; - typedef std::function GetAppHealthCountAsyncCallback; - typedef std::function LifecycleRequestCompleteAsyncCallback; - typedef std::function GetInterfaceVersionAsyncCallback; - typedef std::function GetApplicationModeAsyncCallback; - typedef std::function UnRegisterSessionAsyncCallback; - typedef std::function RegisterSessionAsyncCallback; - typedef std::function UnRegisterShutdownClientAsyncCallback; - typedef std::function RegisterShutdownClientAsyncCallback; - typedef std::function GetNodeStateAsyncCallback; - typedef std::function GetSessionStateAsyncCallback; - typedef std::function SetSessionStateAsyncCallback; - - virtual BootModeAttribute& getBootModeAttribute() = 0; - virtual RestartReasonAttribute& getRestartReasonAttribute() = 0; - virtual ShutdownReasonAttribute& getShutdownReasonAttribute() = 0; - virtual WakeUpReasonAttribute& getWakeUpReasonAttribute() = 0; - - virtual NodeApplicationModeEvent& getNodeApplicationModeEvent() = 0; - virtual SessionStateChangedEvent& getSessionStateChangedEvent() = 0; - virtual NodeStateEvent& getNodeStateEvent() = 0; - - - virtual void GetAppHealthCount(CommonAPI::CallStatus& callStatus, uint32_t& Count) = 0; - virtual std::future GetAppHealthCountAsync(GetAppHealthCountAsyncCallback callback) = 0; - - virtual void LifecycleRequestComplete(const uint32_t& RequestId, const int32_t& Status, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0; - virtual std::future LifecycleRequestCompleteAsync(const uint32_t& RequestId, const int32_t& Status, LifecycleRequestCompleteAsyncCallback callback) = 0; - - virtual void GetInterfaceVersion(CommonAPI::CallStatus& callStatus, uint32_t& Version) = 0; - virtual std::future GetInterfaceVersionAsync(GetInterfaceVersionAsyncCallback callback) = 0; - - virtual void GetApplicationMode(CommonAPI::CallStatus& callStatus, int32_t& ErrorCode, int32_t& ApplicationModeId) = 0; - virtual std::future GetApplicationModeAsync(GetApplicationModeAsyncCallback callback) = 0; - - virtual void UnRegisterSession(const std::string& SessionName, const std::string& SessionOwner, const int32_t& SeatID, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0; - virtual std::future UnRegisterSessionAsync(const std::string& SessionName, const std::string& SessionOwner, const int32_t& SeatID, UnRegisterSessionAsyncCallback callback) = 0; - - virtual void RegisterSession(const std::string& SessionName, const std::string& SessionOwner, const int32_t& SeatID, const int32_t& SessionState, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0; - virtual std::future RegisterSessionAsync(const std::string& SessionName, const std::string& SessionOwner, const int32_t& SeatID, const int32_t& SessionState, RegisterSessionAsyncCallback callback) = 0; - - virtual void UnRegisterShutdownClient(const std::string& BusName, const std::string& ObjName, const uint32_t& ShutdownMode, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0; - virtual std::future UnRegisterShutdownClientAsync(const std::string& BusName, const std::string& ObjName, const uint32_t& ShutdownMode, UnRegisterShutdownClientAsyncCallback callback) = 0; - - virtual void RegisterShutdownClient(const std::string& BusName, const std::string& ObjName, const uint32_t& ShutdownMode, const uint32_t& TimeoutMs, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0; - virtual std::future RegisterShutdownClientAsync(const std::string& BusName, const std::string& ObjName, const uint32_t& ShutdownMode, const uint32_t& TimeoutMs, RegisterShutdownClientAsyncCallback callback) = 0; - - virtual void GetNodeState(CommonAPI::CallStatus& callStatus, int32_t& ErrorCode, int32_t& NodeStateId) = 0; - virtual std::future GetNodeStateAsync(GetNodeStateAsyncCallback callback) = 0; - - virtual void GetSessionState(const std::string& SessionName, const int32_t& SeatID, CommonAPI::CallStatus& callStatus, int32_t& SessionState, int32_t& ErrorCode) = 0; - virtual std::future GetSessionStateAsync(const std::string& SessionName, const int32_t& SeatID, GetSessionStateAsyncCallback callback) = 0; - - virtual void SetSessionState(const std::string& SessionName, const std::string& SessionOwner, const int32_t& SessionState, const int32_t& SeatID, CommonAPI::CallStatus& callStatus, int32_t& ErrorCode) = 0; - virtual std::future SetSessionStateAsync(const std::string& SessionName, const std::string& SessionOwner, const int32_t& SessionState, const int32_t& SeatID, SetSessionStateAsyncCallback callback) = 0; - }; - - } // namespace NodeStateManager - } // namespace genivi - } // namespace org - - #endif // ORG_GENIVI_NODESTATEMANAGER_Consumer_PROXY_BASE_H_ -- cgit v1.2.1