rafaelrojasmiliani / gsplines_cpp

Generalized Splines for Motion Optimization in C++ and python3
MIT License
56 stars 0 forks source link

Change Architecture #10

Closed rafaelrojasmiliani closed 3 years ago

rafaelrojasmiliani commented 3 years ago

Evaluate if we need to change the inheritance architecture to this

PlantUML model

rafaelrojasmiliani commented 3 years ago

see how to write this diagrams here

rafaelrojasmiliani commented 3 years ago

We can also append the virtual move constructor


std::unique_ptr<Base> Derived::move_clone(){
     return std::make_unique<Derived>(std::move(*this));
}