EncoderUpdateInfo.h
Go to the documentation of this file.
1 // Copyright (c) 2016 Digital Barriers
4 
18 #pragma once
19 
20 #include "EdgeVisSDK.h"
21 
22 #include <string>
23 #include <vector>
24 #include <map>
25 
26 #include "Pimpl.h"
27 
28 namespace EdgeVisDecoderSDK
29 {
30  class EncoderUpdateInfoImpl;
31 
32  class EncoderUpdateInfo : EdgeVisSDKPimpl<EncoderUpdateInfoImpl>
33  {
34  public:
35  DB_EDGEVIS_SDK EncoderUpdateInfo();
36  EdgeVisSDKPimplWeakConstructor(EncoderUpdateInfo);
37  DB_EDGEVIS_SDK virtual ~EncoderUpdateInfo();
38 
44  DB_EDGEVIS_SDK std::map< std::wstring, std::wstring > Params() const;
45 
53  DB_EDGEVIS_SDK std::vector< std::wstring > ParamKeys() const;
54 
64  DB_EDGEVIS_SDK std::wstring GetParam(const std::wstring& key) const;
65 
66  void ClearParams();
67 
68  void AddParam(const std::wstring& key, const std::wstring& val);
69  };
70 }
DB_EDGEVIS_SDK std::map< std::wstring, std::wstring > Params() const
Gets the status message&#39;s parameters.
Holds information about the Encoder updates such as an Encoders location.
Definition: EncoderUpdateInfo.h:32
The EdgeVis Decoder SDK namespace.
DB_EDGEVIS_SDK std::wstring GetParam(const std::wstring &key) const
Gets a parameter value from the set of parameter key-value pairs for the update message.
DB_EDGEVIS_SDK std::vector< std::wstring > ParamKeys() const
Gets the status message&#39;s parameter keys.