Stroika Library
3.0d25
Help-Home
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
9
#include "
Stroika/Foundation/Characters/String.h
"
10
#include "Stroika/Foundation/Common/Common.h"
11
#include "Stroika/Foundation/Common/GUID.h"
12
#include "Stroika/Foundation/DataExchange/ObjectVariantMapper.h"
13
#include "
Stroika/Foundation/IO/Network/URI.h
"
14
15
/*
16
* TODO:
17
*/
18
19
namespace
Stroika::Frameworks::UPnP {
20
21
using namespace
Stroika::Foundation
;
22
using
Characters::String
;
23
using
Foundation::IO::Network::URI
;
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
*/
36
Common::GUID
fDeviceID
;
37
38
/**
39
* Where the device's description is - the LOCATION it advertises.
40
*/
41
URI
fLocation
;
42
43
String
fServer;
44
45
/**
46
* Mapper to facilitate serialization
47
*/
48
static
const
Foundation::DataExchange::ObjectVariantMapper
kMapper
;
49
};
50
51
}
52
53
/*
54
********************************************************************************
55
***************************** Implementation Details ***************************
56
********************************************************************************
57
*/
58
#include "Device.inl"
59
60
#endif
/*_Stroika_Frameworks_UPnP_Device_h_*/
String.h
URI.h
Stroika::Foundation::Characters::String
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition
String.h:201
Stroika::Foundation::DataExchange::ObjectVariantMapper
ObjectVariantMapper can be used to map C++ types to and from variant-union types, which can be transp...
Definition
Library/Sources/Stroika/Foundation/DataExchange/ObjectVariantMapper.h:269
Stroika::Foundation::IO::Network::URI
Definition
URI.h:84
Stroika::Frameworks::UPnP::Device
Definition
Device.h:30
Stroika::Frameworks::UPnP::Device::kMapper
static const Foundation::DataExchange::ObjectVariantMapper kMapper
Definition
Device.h:48
Stroika::Frameworks::UPnP::Device::fLocation
URI fLocation
Definition
Device.h:41
Stroika::Frameworks::UPnP::Device::fDeviceID
Common::GUID fDeviceID
Definition
Device.h:36
Stroika::Foundation
Definition
BloomFilter.h:22
Stroika::Foundation::Common::GUID
Definition
GUID.h:54
Library
Sources
Stroika
Frameworks
UPnP
Device.h
Generated by
1.9.8