File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
modules/core/task/include Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,27 +25,27 @@ class Task {
2525 explicit Task (TaskDataPtr task_data);
2626
2727 // set input and output data
28- void SetData (TaskDataPtr task_data);
28+ virtual void SetData (TaskDataPtr task_data) final ;
2929
3030 // validation of data and validation of task attributes before running
31- virtual bool Validation ();
31+ virtual bool Validation () final ;
3232
3333 // pre-processing of input data
34- virtual bool PreProcessing ();
34+ virtual bool PreProcessing () final ;
3535
3636 // realization of current task
37- virtual bool Run ();
37+ virtual bool Run () final ;
3838
3939 // post-processing of output data
40- virtual bool PostProcessing ();
40+ virtual bool PostProcessing () final ;
4141
4242 // get input and output data
43- [[nodiscard]] TaskDataPtr GetData () const ;
43+ [[nodiscard]] virtual TaskDataPtr GetData () const final ;
4444
4545 virtual ~Task ();
4646
4747 protected:
48- void InternalOrderTest (const std::string &str = __builtin_FUNCTION());
48+ virtual void InternalOrderTest (const std::string &str = __builtin_FUNCTION()) final ;
4949 TaskDataPtr task_data;
5050
5151 // implementation of "validation" function
You can’t perform that action at this time.
0 commit comments