31 template <
typename Sensor>
40 template <
typename Sensor>
46 return std::move(output);
void copy_from(const T &source)
Copy source into this buffer. Allocates memory if necessary.
Wrapper around the raw data generated by a sensor plus some useful meta-information.
std::vector< RadarDetection > _detections
Serializes the data generated by Radar sensors.
static Buffer Serialize(const Sensor &sensor, const data::RadarData &measurement, Buffer &&output)
static SharedPtr< SensorData > Deserialize(RawData &&data)
This file contains definitions of common data structures used in traffic manager.
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...