SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Private Attributes | List of all members
qrtplib::RTCPSDESInfo::SDESPrivateItem Class Reference
+ Inheritance diagram for qrtplib::RTCPSDESInfo::SDESPrivateItem:
+ Collaboration diagram for qrtplib::RTCPSDESInfo::SDESPrivateItem:

Public Member Functions

 SDESPrivateItem ()
 
 ~SDESPrivateItem ()
 
uint8_tGetPrefix (std::size_t *len) const
 
int SetPrefix (const uint8_t *s, std::size_t len)
 
- Public Member Functions inherited from qrtplib::RTCPSDESInfo::SDESItem
 SDESItem ()
 
 ~SDESItem ()
 
uint8_tGetInfo (std::size_t *len) const
 
int SetInfo (const uint8_t *s, std::size_t len)
 

Private Attributes

uint8_tprefix
 
std::size_t prefixlen
 

Additional Inherited Members

- Protected Member Functions inherited from qrtplib::RTCPSDESInfo::SDESItem
int SetString (uint8_t **dest, std::size_t *destlen, const uint8_t *s, std::size_t len)
 

Detailed Description

Definition at line 249 of file rtcpsdesinfo.h.

Constructor & Destructor Documentation

◆ SDESPrivateItem()

qrtplib::RTCPSDESInfo::SDESPrivateItem::SDESPrivateItem ( )
inline

Definition at line 252 of file rtcpsdesinfo.h.

253  {
254  prefixlen = 0;
255  prefix = 0;
256  }

◆ ~SDESPrivateItem()

qrtplib::RTCPSDESInfo::SDESPrivateItem::~SDESPrivateItem ( )
inline

Definition at line 257 of file rtcpsdesinfo.h.

258  {
259  if (prefix)
260  delete[] prefix;
261  }

Member Function Documentation

◆ GetPrefix()

uint8_t* qrtplib::RTCPSDESInfo::SDESPrivateItem::GetPrefix ( std::size_t *  len) const
inline

Definition at line 262 of file rtcpsdesinfo.h.

263  {
264  *len = prefixlen;
265  return prefix;
266  }

◆ SetPrefix()

int qrtplib::RTCPSDESInfo::SDESPrivateItem::SetPrefix ( const uint8_t s,
std::size_t  len 
)
inline

Definition at line 267 of file rtcpsdesinfo.h.

Referenced by qrtplib::RTCPSDESInfo::SetPrivateValue().

268  {
269  return SetString(&prefix, &prefixlen, s, len);
270  }
int SetString(uint8_t **dest, std::size_t *destlen, const uint8_t *s, std::size_t len)
Definition: rtcpsdesinfo.h:220
+ Here is the caller graph for this function:

Member Data Documentation

◆ prefix

uint8_t* qrtplib::RTCPSDESInfo::SDESPrivateItem::prefix
private

Definition at line 272 of file rtcpsdesinfo.h.

◆ prefixlen

std::size_t qrtplib::RTCPSDESInfo::SDESPrivateItem::prefixlen
private

Definition at line 273 of file rtcpsdesinfo.h.


The documentation for this class was generated from the following file: