CARLA
Loading...
Searching...
No Matches
carla::streaming Namespace Reference

Namespaces

namespace  detail
namespace  low_level

Classes

class  Client
 A client able to subscribe to multiple streams. More...
class  Server
 A streaming server. More...
class  Token
 A token that uniquely identify a stream. More...

Typedefs

using Stream = detail::Stream<detail::MultiStreamState>
 A stream represents an unidirectional channel for sending data from server to client.
using stream_token = detail::token_type

Functions

static auto make_address (const std::string &address)
template<typename Protocol>
static auto make_endpoint (boost::asio::ip::basic_endpoint< Protocol > ep)
template<typename Protocol>
static auto make_endpoint (const char *address, uint16_t port)
template<typename Protocol>
static auto make_endpoint (const std::string &address, uint16_t port)
template<typename Protocol>
static auto make_endpoint (uint16_t port)
static auto make_localhost_address ()

Typedef Documentation

◆ Stream

A stream represents an unidirectional channel for sending data from server to client.

Multiple clients can subscribe to this stream using the stream token. If no client is subscribed, the data flushed down the stream is discarded.

Definition at line 19 of file Stream.h.

◆ stream_token

Function Documentation

◆ make_address()

auto carla::streaming::make_address ( const std::string & address)
inlinestatic

Definition at line 75 of file EndPoint.h.

References make_address().

Referenced by make_address(), and make_endpoint().

◆ make_endpoint() [1/4]

template<typename Protocol>
auto carla::streaming::make_endpoint ( boost::asio::ip::basic_endpoint< Protocol > ep)
inlinestatic

Definition at line 89 of file EndPoint.h.

References make_endpoint().

Referenced by make_endpoint(), make_endpoint(), make_endpoint(), and make_endpoint().

◆ make_endpoint() [2/4]

template<typename Protocol>
auto carla::streaming::make_endpoint ( const char * address,
uint16_t port )
inlinestatic

Definition at line 94 of file EndPoint.h.

References make_address(), and make_endpoint().

◆ make_endpoint() [3/4]

template<typename Protocol>
auto carla::streaming::make_endpoint ( const std::string & address,
uint16_t port )
inlinestatic

Definition at line 99 of file EndPoint.h.

References make_endpoint().

◆ make_endpoint() [4/4]

template<typename Protocol>
auto carla::streaming::make_endpoint ( uint16_t port)
inlinestatic

Definition at line 104 of file EndPoint.h.

References make_endpoint().

◆ make_localhost_address()

auto carla::streaming::make_localhost_address ( )
inlinestatic

Definition at line 71 of file EndPoint.h.

References make_localhost_address().

Referenced by make_localhost_address().