CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
carla/Buffer.cpp
浏览该文件的文档.
1
#include "
carla/Buffer.h
"
2
3
#include "
carla/BufferPool.h
"
4
5
namespace
carla
{
6
7
void
Buffer::ReuseThisBuffer
() {
8
auto
pool =
_parent_pool
.lock();
9
if
(pool !=
nullptr
) {
10
pool->Push(std::move(*
this
));
11
}
12
}
13
14
}
// namespace carla
BufferPool.h
Buffer.h
carla::Buffer::ReuseThisBuffer
void ReuseThisBuffer()
Definition
carla/Buffer.cpp:7
carla::Buffer::_parent_pool
std::weak_ptr< BufferPool > _parent_pool
Definition
carla/Buffer.h:366
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0