Drake
maliput_railcar_params_translator.h
Go to the documentation of this file.
1 #pragma once
2 
3 // GENERATED FILE DO NOT EDIT
4 // See drake/tools/lcm_vector_gen.py.
5 
6 #include <memory>
7 #include <vector>
8 
10 #include "drake/lcmt_maliput_railcar_params_t.hpp"
12 
13 namespace drake {
14 namespace automotive {
15 
22  public:
25  MaliputRailcarParamsIndices::kNumCoordinates) {}
26  std::unique_ptr<systems::BasicVector<double>> AllocateOutputVector()
27  const override;
28  void Deserialize(const void* lcm_message_bytes, int lcm_message_length,
29  systems::VectorBase<double>* vector_base) const override;
30  void Serialize(double time, const systems::VectorBase<double>& vector_base,
31  std::vector<uint8_t>* lcm_message_bytes) const override;
32 };
33 
34 } // namespace automotive
35 } // namespace drake
LcmAndVectorBaseTranslator(const LcmAndVectorBaseTranslator &)=delete
Definition: automotive_demo.cc:88
Translates between LCM message objects and VectorBase objects for the MaliputRailcarParams type...
Definition: maliput_railcar_params_translator.h:20
std::unique_ptr< systems::BasicVector< double > > AllocateOutputVector() const override
Allocates the vector storage for an output port of our LCM message type, in case special storage is n...
Definition: maliput_railcar_params_translator.cc:14
const double time
Definition: robot_plan_interpolator_test.cc:63
void Serialize(double time, const systems::VectorBase< double > &vector_base, std::vector< uint8_t > *lcm_message_bytes) const override
Translates a drake::systems::VectorBase object into LCM message bytes.
Definition: maliput_railcar_params_translator.cc:18
void Deserialize(const void *lcm_message_bytes, int lcm_message_length, systems::VectorBase< double > *vector_base) const override
Translates LCM message bytes into a drake::systems::VectorBase object.
Definition: maliput_railcar_params_translator.cc:35
Describes the row indices of a MaliputRailcarParams.
Definition: maliput_railcar_params.h:20
Defines an abstract parent class of all translators that convert between LCM message bytes and drake:...
Definition: lcm_and_vector_base_translator.h:18
MaliputRailcarParamsTranslator()
Definition: maliput_railcar_params_translator.h:23