Stroika Library 3.0d25
 
Loading...
Searching...
No Matches
Device.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2026. All rights reserved
3 */
4#ifndef _Stroika_Frameworks_UPnP_Device_h_
5#define _Stroika_Frameworks_UPnP_Device_h_ 1
6
7#include "Stroika/Frameworks/StroikaPreComp.h"
8
10#include "Stroika/Foundation/Common/Common.h"
11#include "Stroika/Foundation/Common/GUID.h"
12#include "Stroika/Foundation/DataExchange/ObjectVariantMapper.h"
14
15/*
16 * TODO:
17 */
18
19namespace Stroika::Frameworks::UPnP {
20
21 using namespace Stroika::Foundation;
24
25 /**
26 * High level device description - from ssdp. This is the BASIC device info.
27 *
28 * @see DeviceDescription for more details on the device.
29 */
30 class Device {
31 public:
32 /**
33 * The device's UUID - a UPnP device MUST use a 128-bit UUID, written 8-4-4-4-12 hex digits (UPnP Device Architecture
34 * 1.1, section 1.1.4). Its UDN is "uuid:" and this.
35 */
37
38 /**
39 * Where the device's description is - the LOCATION it advertises.
40 */
42
43 String fServer;
44
45 /**
46 * Mapper to facilitate serialization
47 */
49 };
50
51}
52
53/*
54 ********************************************************************************
55 ***************************** Implementation Details ***************************
56 ********************************************************************************
57 */
58#include "Device.inl"
59
60#endif /*_Stroika_Frameworks_UPnP_Device_h_*/
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201
ObjectVariantMapper can be used to map C++ types to and from variant-union types, which can be transp...
static const Foundation::DataExchange::ObjectVariantMapper kMapper
Definition Device.h:48