Shared state among all the copies of a stream. More...
#include <StreamStateBase.h>
Public Member Functions | |
virtual void | ClearSessions ()=0 |
virtual void | ConnectSession (std::shared_ptr< Session > session)=0 |
virtual void | DisconnectSession (std::shared_ptr< Session > session)=0 |
Buffer | MakeBuffer () |
StreamStateBase (const token_type &token) | |
const token_type & | token () const |
virtual | ~StreamStateBase () |
Private Attributes | |
const std::shared_ptr< BufferPool > | _buffer_pool |
const token_type | _token |
Additional Inherited Members | |
Private Member Functions inherited from carla::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable (NonCopyable &&)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable & | operator= (NonCopyable &&)=delete |
Shared state among all the copies of a stream.
Provides access to the underlying server session(s) if active.
Definition at line 24 of file StreamStateBase.h.
|
explicit |
Definition at line 15 of file StreamStateBase.cpp.
References ~StreamStateBase().
|
virtualdefault |
|
pure virtual |
Implemented in carla::streaming::detail::MultiStreamState.
Referenced by token().
|
pure virtual |
Implemented in carla::streaming::detail::MultiStreamState.
Referenced by token().
|
pure virtual |
Implemented in carla::streaming::detail::MultiStreamState.
Referenced by token().
Buffer carla::streaming::detail::StreamStateBase::MakeBuffer | ( | ) |
Definition at line 21 of file StreamStateBase.cpp.
References _buffer_pool.
Referenced by token().
|
inline |
Definition at line 31 of file StreamStateBase.h.
References _token, ClearSessions(), ConnectSession(), DisconnectSession(), and MakeBuffer().
|
private |
Definition at line 47 of file StreamStateBase.h.
Referenced by MakeBuffer().
|
private |
Definition at line 45 of file StreamStateBase.h.
Referenced by token().