35 template <
typename Sensor>
44 template <
typename Sensor>
51 return std::move(output);
58 template <
typename Sensor>
67 template <
typename Sensor>
74 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< CAMData > MessageList
std::vector< CustomV2XData > MessageList
Serializes the data generated by V2X sensors.
static Buffer Serialize(const Sensor &sensor, const data::CAMDataS &data, Buffer &&output)
static SharedPtr< SensorData > Deserialize(RawData &&data)
static Buffer Serialize(const Sensor &sensor, const data::CustomV2XDataS &data, 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...