CARLA
carla/Buffer.cpp
Go to the documentation of this file.
1 #include "carla/Buffer.h"
2 
3 #include "carla/BufferPool.h"
4 
5 namespace carla {
6 
8  auto pool = _parent_pool.lock();
9  if (pool != nullptr) {
10  pool->Push(std::move(*this));
11  }
12  }
13 
14 } // namespace carla
void ReuseThisBuffer()
Definition: carla/Buffer.cpp:7
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:133
std::weak_ptr< BufferPool > _parent_pool
Definition: carla/Buffer.h:366