controls  3.0.0
TrajectoryFactoryInterface.h
Go to the documentation of this file.
1 #ifndef TRAJECTORY_FACTORY_INTERFACE_H
2 #define TRAJECTORY_FACTORY_INTERFACE_H
3 
5 
6 #include <memory>
7 
16 public:
17  virtual ~TrajectoryFactoryInterface() = default;
18 
24  virtual std::unique_ptr<TrajectoryBase> build() = 0;
25 };
26 
27 #endif // TRAJECTORY_FACTORY_INTERFACE_H
Abstract factory interface for constructing TrajectoryBase instances.
Definition: TrajectoryFactoryInterface.h:15
virtual ~TrajectoryFactoryInterface()=default
virtual std::unique_ptr< TrajectoryBase > build()=0
Builds and returns a trajectory with the factory's configured parameters.