CARLA
 
载入中...
搜索中...
未找到
StreamStateBase.cpp
浏览该文件的文档.
1// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
8
9#include "carla/BufferPool.h"
10
11namespace carla {
12namespace streaming {
13namespace detail {
14
16 : _token(token),
17 _buffer_pool(std::make_shared<BufferPool>()) {}
18
20
22 auto pool = _buffer_pool;
23 return pool->Pop();
24 }
25
26} // namespace detail
27} // namespace streaming
28} // namespace carla
A pool of Buffer.
Definition BufferPool.h:30
A piece of raw data.
const std::shared_ptr< BufferPool > _buffer_pool
Serializes a stream endpoint.
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133