25 #ifndef SRC_OPTIMAL_CONTROL_INCLUDE_CORBO_OPTIMAL_CONTROL_STRUCTURED_OCP_DISCRETIZATION_GRIDS_FINITE_DIFFERENCES_GRID_MOVE_BLOCKING_H_
26 #define SRC_OPTIMAL_CONTROL_INCLUDE_CORBO_OPTIMAL_CONTROL_STRUCTURED_OCP_DISCRETIZATION_GRIDS_FINITE_DIFFERENCES_GRID_MOVE_BLOCKING_H_
32 class FiniteDifferencesGridMoveBlocking :
public FullDiscretizationGridMoveBlockingBase
35 using Ptr = std::shared_ptr<FiniteDifferencesGridMoveBlocking>;
36 using UPtr = std::unique_ptr<FiniteDifferencesGridMoveBlocking>;
47 #ifdef MESSAGE_SUPPORT
48 void fromMessage(
const messages::FiniteDifferencesGridMoveBlocking& message, std::stringstream* issues);
49 void toMessage(messages::FiniteDifferencesGridMoveBlocking& message)
const;
51 void fromMessage(
const messages::DiscretizationGrid& message, std::stringstream* issues)
override
53 fromMessage(message.finite_differences_grid_move_blocking(), issues);
55 void toMessage(messages::DiscretizationGrid& message)
const override { toMessage(*message.mutable_finite_differences_grid_move_blocking()); }
66 #endif // SRC_OPTIMAL_CONTROL_INCLUDE_CORBO_OPTIMAL_CONTROL_STRUCTURED_OCP_DISCRETIZATION_GRIDS_FINITE_DIFFERENCES_GRID_MOVE_BLOCKING_H_