Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvSessionInfoSDP.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2007, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PV_SESSIONINFOSDP_H__
8 #define __PV_SESSIONINFOSDP_H__
9 
10 #include <PvSystemLib.h>
11 #include <PvSystemEnums.h>
12 
13 
14 class PvInterface;
15 
16 
17 class PV_SYSTEM_API PvSessionInfoSDP
18 {
19 public:
20 
21  virtual ~PvSessionInfoSDP();
22  PvSessionInfoSDP *Copy() const;
23 
24  uint32_t GetSessionID() const;
25  uint32_t GetSessionVersion() const;
26  std::string GetSessionName() const;
27  std::string GetSessionInfo() const;
28 
29  PvString GetConnectionIP() const;
30  PvString GetMediaType() const;
31  uint16_t GetMediaTransportPort() const;
32  PvString GetMediaSampling() const;
33  uint16_t GetMediaDepth() const;
34  PvString GetMediaColorimetry() const;
35  uint32_t GetMediaWidth() const;
36  uint32_t GetMediaHeight() const;
37  uint32_t GetMediaFramerate() const;
38  bool GetMediaInterlaced() const;
39  PvString GetContent() const;
40 
41  PvString GetLicenseMessage() const;
42  PvString GetDisplayID() const;
43  PvString GetUniqueID() const;
44  PvString GetConnectionID() const;
45  bool IsConfigurationValid() const;
46  bool IsLicenseValid() const;
47 
48  const PvInterface *GetInterface() const;
49 
50 protected:
51 
52 #ifndef PV_GENERATING_DOXYGEN_DOC
53 
54  // PvSessionInfoSDP( PvSessionInfoSDPType, PvInterface *aInterface );
55  const PvSessionInfoSDP &operator=( const PvSessionInfoSDP &aFrom );
56 
57  void Init();
58 
59  void SetLicenseValid( bool aValue ) { mLicenseValid = aValue; }
60  void SetConnectionID( const std::string &aValue ) { *mConnectionID = aValue; }
61  void SetDisplayID( const std::string &aValue ) { *mDisplayID = aValue; }
62  void SetUniqueID( const std::string &aValue ) { *mUniqueID = aValue; }
63  void SetCompareID( const std::string &aValue ) { *mCompareID = aValue; }
64  void SetLicenseMessage( const std::string &aValue ) { *mLicenseMessage = aValue; }
65 
66  std::string *GetCompareID() { return mCompareID; }
67 
68 #endif // PV_GENERATING_DOXYGEN_DOC
69 
70 private:
71 
72  bool mLicenseValid;
73  std::string *mConnectionID;
74  std::string *mDisplayID;
75  std::string *mUniqueID;
76  std::string *mCompareID;
77  std::string *mLicenseMessage;
78  std::string *mContent;
79 
80  const PvInterface *mInterface;
81 
82  // Not implemented
85 
86 };
87 
88 
89 #endif // __PV_SESSIONINFOSDP_H__
90 
Definition: PvSessionInfoSDP.h:17
String class.
Definition: PvString.h:21
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:25
PvSystem library enumerations.

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com