Cloud接続制御機能のインターフェース  
 More...
#include <CloudControlInterface.hpp>
◆ RegisterCallback() [1/2]
  
  | 
        
          | virtual void zep::control::CloudControlInterface::RegisterCallback | ( | const std::shared_ptr< CloudControlCallbackInterface > & | listener, |  
          |  |  | bool | use_weak_ptr = false |  
          |  | ) |  |  |  | pure virtual | 
 
コールバックの送信先をshared_ptrまたはweak_ptrで登録する 
- Note
- 参照の保持方式としてshared_ptr/weak_ptr/unique_ptrのいずれも 利用できるが、同時に登録できるのは合計1つの参照のみである。 
- 
有効なインスタンスを保持していない参照を渡すと、送信先を削除する。
- Parameters
- 
  
    | listener | 送信先への参照 |  | use_weak_ptr | weak_ptrとして保持する場合にtrueを指定 |  
 
 
 
◆ RegisterCallback() [2/2]
コールバックの送信先をunique_ptrで登録する 
- Note
- 参照の保持方式としてshared_ptr/weak_ptr/unique_ptrのいずれも 利用できるが、同時に登録できるのは合計1つの参照のみである。 
- 
有効なインスタンスを保持していない参照を渡すと、送信先を削除する。
- Parameters
- 
  
  
 
 
◆ RequestPairing()
  
  | 
        
          | virtual void zep::control::CloudControlInterface::RequestPairing | ( |  | ) |  |  | pure virtual | 
 
ペアリングを要求する. 
- Note
- 当然ではあるが、事前にクラウドへ接続している必要はない。 
 
 
◆ SelectRoomGroupId()
  
  | 
        
          | virtual bool zep::control::CloudControlInterface::SelectRoomGroupId | ( | const std::uint32_t | group_id | ) |  |  | pure virtual | 
 
ルームグループリストIDを選択する。 
- Parameters
- 
  
  
 
 
◆ StartCloud()
  
  | 
        
          | virtual void zep::control::CloudControlInterface::StartCloud | ( | const std::string & | rest_api_url, |  
          |  |  | const bool | cert_insecure |  
          |  | ) |  |  |  | pure virtual | 
 
REST_APIとの接続を要求する。 
のREST_APIサーバーとの接続を開始する。 
- Parameters
- 
  
    | rest_api_url | REST_APIサーバーのURL |  | cert_insecure | REST_APIサーバーへの証明書検証(false: あり/true: なし) |  
 
 
 
◆ StopCloud()
  
  | 
        
          | virtual void zep::control::CloudControlInterface::StopCloud | ( |  | ) |  |  | pure virtual | 
 
REST_APIへの切断を要求する。 
のREST_APIサーバーとの接続を停止する。 
 
 
The documentation for this class was generated from the following file: