Program Listing for File abstract_engine.hpp
↰ Return to documentation for file (include/bitbots_splines/abstract_engine.hpp
)
#ifndef BITBOTS_SPLINES_INCLUDE_BITBOTS_SPLINES_ABSTRACT_ENGINE_H_
#define BITBOTS_SPLINES_INCLUDE_BITBOTS_SPLINES_ABSTRACT_ENGINE_H_
#include <vector>
namespace bitbots_splines {
template <typename RequestType, typename ResultType>
class AbstractEngine {
public:
virtual ResultType update(double dt) = 0;
virtual void setGoals(const RequestType &goals) = 0;
virtual void reset() = 0;
virtual int getPercentDone() const = 0;
};
} // namespace bitbots_splines
#endif // BITBOTS_SPLINES_INCLUDE_BITBOTS_SPLINES_ABSTRACT_ENGINE_H_