Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Device.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. 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/DataExchange/ObjectVariantMapper.h"
13
14/*
15 * TODO:
16 */
17
18namespace Stroika::Frameworks::UPnP {
19
20 using namespace Stroika::Foundation;
23
24 /**
25 * High level device description - from ssdp. This is the BASIC device info.
26 *
27 * @see DeviceDescription for more details on the device.
28 */
29 class Device {
30 public:
31 String fDeviceID; // this is the UUID (e.g. 315CAAE0-668D-47C7-A178-24C9EE756627)
32 URI fLocation;
33 String fServer;
34
35 /**
36 * Mapper to facilitate serialization
37 */
39 };
40
41 /**
42 */
43 String MungePrimaryMacAddrIntoBaseDeviceID (String baseDeviceID);
44
45}
46
47/*
48 ********************************************************************************
49 ***************************** Implementation Details ***************************
50 ********************************************************************************
51 */
52#include "Device.inl"
53
54#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:38