17 #include <unordered_map> 23 class MultiStreamState;
24 using StreamMap = std::unordered_map<stream_id_type, std::shared_ptr<MultiStreamState>>;
30 template <
typename Protocol,
typename EndPo
intType>
This file contains definitions of common data structures used in traffic manager. ...
token_type GetToken(stream_id_type sensor_id)
std::unordered_map< stream_id_type, std::shared_ptr< MultiStreamState > > StreamMap
void CloseStream(carla::streaming::detail::stream_id_type id)
Serializes a stream endpoint.
void DeregisterSession(std::shared_ptr< Session > session)
bool RegisterSession(std::shared_ptr< Session > session)
Dispatcher(const EndPoint< Protocol, EndPointType > &ep)
Keeps the mapping between streams and sessions.
carla::streaming::Stream MakeStream()