The class SdesChunk is used for storing SdesItem objects for one rtp end system.
More...
#include <Sdes.h>
The class SdesChunk is used for storing SdesItem objects for one rtp end system.
◆ SdesChunk() [1/2]
| inet::rtp::SdesChunk::SdesChunk |
( |
const char * |
name = nullptr, |
|
|
uint32_t |
ssrc = 0 |
|
) |
| |
Default constructor.
Referenced by dup().
◆ SdesChunk() [2/2]
| inet::rtp::SdesChunk::SdesChunk |
( |
const SdesChunk & |
sdesChunk | ) |
|
◆ ~SdesChunk()
| inet::rtp::SdesChunk::~SdesChunk |
( |
| ) |
|
|
virtual |
◆ addSDESItem()
| void inet::rtp::SdesChunk::addSDESItem |
( |
SdesItem * |
item | ) |
|
|
virtual |
◆ copy()
| void inet::rtp::SdesChunk::copy |
( |
const SdesChunk & |
other | ) |
|
|
inlineprivate |
◆ dump()
| void inet::rtp::SdesChunk::dump |
( |
std::ostream & |
os | ) |
const |
|
virtual |
Writes a longer info about this SdesChunk into the given stream.
157 os <<
"SdesChunk:" << endl;
158 os <<
" ssrc = " <<
_ssrc << endl;
159 for (
int i = 0; i < size(); i++) {
161 ((
const SdesItem *)(get(i)))->dump(os);
◆ dup()
| SdesChunk * inet::rtp::SdesChunk::dup |
( |
| ) |
const |
|
overridevirtual |
Duplicates this SdesChunk by calling the copy constructor.
◆ getLength()
| int inet::rtp::SdesChunk::getLength |
( |
| ) |
const |
|
virtual |
◆ getSsrc()
| uint32_t inet::rtp::SdesChunk::getSsrc |
( |
| ) |
const |
|
virtual |
◆ operator=()
Operator equal.
130 if (
this == &sdesChunk)
132 cArray::operator=(sdesChunk);
◆ setSsrc()
| void inet::rtp::SdesChunk::setSsrc |
( |
uint32_t |
ssrc | ) |
|
|
virtual |
◆ str()
| std::string inet::rtp::SdesChunk::str |
( |
| ) |
const |
|
overridevirtual |
Writes a short info about this SdesChunk into the given string.
150 std::stringstream out;
151 out <<
"SdesChunk.ssrc=" <<
_ssrc <<
" items=" << size();
◆ _length
| int inet::rtp::SdesChunk::_length |
|
protected |
◆ _ssrc
| uint32_t inet::rtp::SdesChunk::_ssrc |
|
protected |
The documentation for this class was generated from the following files: