Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
ethernet
RsMediaSession.hh
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
3
4
#pragma once
5
6
#include "MediaSession.hh"
7
8
class
RsMediaSubsession
;
// forward
9
10
class
RsMediaSession
:
public
MediaSession
11
{
12
public
:
13
static
RsMediaSession
*
createNew
(UsageEnvironment& env,
char
const
* sdpDescription);
14
15
protected
:
16
RsMediaSession
(UsageEnvironment& env);
17
// called only by createNew();
18
virtual
~RsMediaSession
();
19
20
virtual
MediaSubsession*
createNewMediaSubsession
();
21
22
friend
class
RsMediaSubsessionIterator
;
23
};
24
25
class
RsMediaSubsessionIterator
26
{
27
public
:
28
RsMediaSubsessionIterator
(
RsMediaSession
const
& session);
29
virtual
~
RsMediaSubsessionIterator
();
30
31
RsMediaSubsession
*
next
();
// NULL if none
32
void
reset
();
33
34
private
:
35
RsMediaSession
const
&
fOurSession
;
36
RsMediaSubsession
*
fNextPtr
;
37
};
38
39
class
RsMediaSubsession
:
public
MediaSubsession
40
{
41
protected
:
42
friend
class
RsMediaSession
;
43
friend
class
RsMediaSubsessionIterator
;
44
RsMediaSubsession
(
RsMediaSession
& parent);
45
virtual
~
RsMediaSubsession
();
46
virtual
Boolean createSourceObjects(
int
useSpecialRTPoffset);
47
// create "fRTPSource" and "fReadSource" member objects, after we've been initialized via SDP
48
};
RsMediaSession
Definition:
RsMediaSession.hh:10
reset
GLboolean reset
Definition:
glad/glad/glad.h:3594
RsMediaSubsessionIterator
Definition:
RsMediaSession.hh:25
RsMediaSession::createNew
static RsMediaSession * createNew(UsageEnvironment &env, char const *sdpDescription)
Definition:
RsMediaSession.cpp:16
RsMediaSession::~RsMediaSession
virtual ~RsMediaSession()
Definition:
RsMediaSession.cpp:34
RsMediaSubsessionIterator::fNextPtr
RsMediaSubsession * fNextPtr
Definition:
RsMediaSession.hh:36
RsMediaSubsessionIterator::fOurSession
RsMediaSession const & fOurSession
Definition:
RsMediaSession.hh:35
RsMediaSubsession
Definition:
RsMediaSession.hh:39
RsMediaSession::createNewMediaSubsession
virtual MediaSubsession * createNewMediaSubsession()
Definition:
RsMediaSession.cpp:36
RsMediaSession::RsMediaSubsessionIterator
friend class RsMediaSubsessionIterator
Definition:
RsMediaSession.hh:22
RsMediaSession::RsMediaSession
RsMediaSession(UsageEnvironment &env)
Definition:
RsMediaSession.cpp:30
boost::foreach_detail_::next
void next(auto_any_t cur, type2type< T, C > *)
Definition:
foreach.hpp:757
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:41