libcarla/include/carla/sensor/s11n/EpisodeStateSerializer.cpp
2024-10-18 13:19:59 +08:00

22 lines
618 B
C++

// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/sensor/s11n/EpisodeStateSerializer.h"
#include "carla/sensor/data/RawEpisodeState.h"
namespace carla {
namespace sensor {
namespace s11n {
SharedPtr<SensorData> EpisodeStateSerializer::Deserialize(RawData &&data) {
return SharedPtr<data::RawEpisodeState>(new data::RawEpisodeState{std::move(data)});
}
} // namespace s11n
} // namespace sensor
} // namespace carla