Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
Device.h
Go to the documentation of this file.
1
2// Copyright (c) 2019 Digital Barriers
4
18
19#pragma once
20
21#include "EdgeVisSDK.h"
22#include "Pimpl.h"
23
24#include <string>
25#include <vector>
26
27namespace EdgeVisDecoderSDK
28{
29 class DeviceImpl;
30 class Encoder;
31
32 class Device : public EdgeVisSDKPimpl<DeviceImpl>
33 {
34 public:
35 DB_EDGEVIS_SDK Device();
36 EdgeVisSDKPimplWeakConstructor(Device);
37 DB_EDGEVIS_SDK virtual ~Device();
38
39
45 DB_EDGEVIS_SDK std::wstring Name() const;
46
52 DB_EDGEVIS_SDK std::wstring UniqueID() const;
53
54
61 DB_EDGEVIS_SDK std::vector<Encoder> GetEncoders() const;
62
71 DB_EDGEVIS_SDK Encoder GetEncoder(const std::wstring& uuid) const;
72
81 DB_EDGEVIS_SDK int32_t GetMaxEncoders() const;
82
88 DB_EDGEVIS_SDK bool IsConnectedToServer() const;
89 };
90}
DB_EDGEVIS_SDK Encoder GetEncoder(const std::wstring &uuid) const
Gets the Encoder object with the specified UUID.
DB_EDGEVIS_SDK std::vector< Encoder > GetEncoders() const
Gets a list of Encoders that are available on the Device.
DB_EDGEVIS_SDK std::wstring UniqueID() const
Gets the Device's unique identifier.
DB_EDGEVIS_SDK int32_t GetMaxEncoders() const
Gets the maximum number of Encoders supported by this Device.
DB_EDGEVIS_SDK bool IsConnectedToServer() const
Determine if this Device is currently connected to the EdgeVis server.
DB_EDGEVIS_SDK std::wstring Name() const
Gets the name of the Device.
An Encoder interface represents an Encoder that is managed by the server.
Definition Encoder.h:59
The EdgeVis Decoder SDK namespace.