CARLA
Namespaces | Classes | Typedefs | Functions
carla::streaming Namespace Reference

Namespaces

 detail
 
 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. More...
 
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

Definition at line 20 of file streaming/Client.h.

Function Documentation

◆ make_address()

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

Definition at line 75 of file EndPoint.h.

Referenced by make_endpoint(), and make_localhost_address().

+ Here is the caller graph for this function:

◆ make_endpoint() [1/4]

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

Definition at line 90 of file EndPoint.h.

◆ make_endpoint() [2/4]

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

Definition at line 95 of file EndPoint.h.

References make_address().

+ Here is the call graph for this function:

◆ make_endpoint() [3/4]

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

Definition at line 100 of file EndPoint.h.

◆ make_endpoint() [4/4]

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

Definition at line 105 of file EndPoint.h.

◆ make_localhost_address()

static auto carla::streaming::make_localhost_address ( )
inlinestatic

Definition at line 71 of file EndPoint.h.

References make_address().

+ Here is the call graph for this function: