Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
ethernet
StreamClientState.h
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2020 Intel Corporation. All Rights Reserved.
3
4
#ifndef _STREAM_CLIENT_STATE_H
5
#define _STREAM_CLIENT_STATE_H
6
7
#include "
RsMediaSession.hh
"
8
9
// Define a class to hold per-stream state that we maintain throughout each stream's lifetime:
10
11
class
StreamClientState
12
{
13
public
:
14
StreamClientState
()
15
:
m_session
(
NULL
)
16
{}
17
virtual
~StreamClientState
()
18
{
19
Medium::close(
m_session
);
20
}
21
22
public
:
23
RsMediaSession
*
m_session
;
24
};
25
26
#endif // _STREAM_CLIENT_STATE_H
RsMediaSession
Definition:
RsMediaSession.hh:10
StreamClientState
Definition:
StreamClientState.h:11
RsMediaSession.hh
StreamClientState::m_session
RsMediaSession * m_session
Definition:
StreamClientState.h:23
StreamClientState::StreamClientState
StreamClientState()
Definition:
StreamClientState.h:14
StreamClientState::~StreamClientState
virtual ~StreamClientState()
Definition:
StreamClientState.h:17
NULL
#define NULL
Definition:
tinycthread.c:47
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:50:11