#include <Stream.h>
Public 成员函数 | |
bool | AreClientsListening () |
Buffer | MakeBuffer () |
Pull a buffer from the buffer pool associated to this stream. | |
template<typename T > | |
Stream & | operator<< (const T &data) |
Make a copy of data and flush it down the stream. | |
Stream & | operator= (const Stream &)=default |
Stream & | operator= (Stream &&)=default |
Stream ()=delete | |
Stream (const Stream &)=default | |
Stream (Stream &&)=default | |
Token | token () const |
Token associated with this stream. | |
template<typename... Buffers> | |
void | Write (Buffers &&... buffers) |
Flush buffers down the stream. No copies are made. | |
Private 成员函数 | |
Stream (std::shared_ptr< StreamStateT > state) | |
Private 属性 | |
std::shared_ptr< StreamStateT > | _shared_state |
友元 | |
class | detail::Dispatcher |
在文件 detail/Stream.h 第 22 行定义.
|
delete |
|
default |
|
default |
|
inlineprivate |
在文件 detail/Stream.h 第 74 行定义.
引用了 carla::streaming::detail::Stream< StreamStateT >::_shared_state , 以及 DEBUG_ASSERT.
|
inline |
|
inline |
Pull a buffer from the buffer pool associated to this stream.
Discarded buffers are re-used to avoid memory allocations.
在文件 detail/Stream.h 第 45 行定义.
引用了 carla::streaming::detail::Stream< StreamStateT >::_shared_state.
被这些函数引用 carla::streaming::detail::Stream< StreamStateT >::operator<<().
|
inline |
Make a copy of data and flush it down the stream.
在文件 detail/Stream.h 第 58 行定义.
引用了 carla::streaming::detail::Stream< StreamStateT >::MakeBuffer() , 以及 carla::streaming::detail::Stream< StreamStateT >::Write().
|
default |
|
default |
|
inline |
Token associated with this stream.
This token can be used by a client to subscribe to this stream.
在文件 detail/Stream.h 第 35 行定义.
引用了 carla::streaming::detail::Stream< StreamStateT >::_shared_state.
被这些函数引用 Benchmark::AddStream() , 以及 FCarlaServer::FPimpl::BindActions().
|
inline |
Flush buffers down the stream. No copies are made.
在文件 detail/Stream.h 第 52 行定义.
引用了 carla::streaming::detail::Stream< StreamStateT >::_shared_state.
被这些函数引用 carla::streaming::detail::Stream< StreamStateT >::operator<<().
|
friend |
在文件 detail/Stream.h 第 72 行定义.
|
private |
在文件 detail/Stream.h 第 79 行定义.
被这些函数引用 carla::streaming::detail::Stream< StreamStateT >::AreClientsListening(), carla::streaming::detail::Stream< StreamStateT >::MakeBuffer(), carla::streaming::detail::Stream< StreamStateT >::Stream(), carla::streaming::detail::Stream< StreamStateT >::token() , 以及 carla::streaming::detail::Stream< StreamStateT >::Write().