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 {
25
25
explicit Task (TaskDataPtr task_data);
26
26
27
27
// set input and output data
28
- void SetData (TaskDataPtr task_data);
28
+ virtual void SetData (TaskDataPtr task_data) final ;
29
29
30
30
// validation of data and validation of task attributes before running
31
- virtual bool Validation ();
31
+ virtual bool Validation () final ;
32
32
33
33
// pre-processing of input data
34
- virtual bool PreProcessing ();
34
+ virtual bool PreProcessing () final ;
35
35
36
36
// realization of current task
37
- virtual bool Run ();
37
+ virtual bool Run () final ;
38
38
39
39
// post-processing of output data
40
- virtual bool PostProcessing ();
40
+ virtual bool PostProcessing () final ;
41
41
42
42
// get input and output data
43
- [[nodiscard]] TaskDataPtr GetData () const ;
43
+ [[nodiscard]] virtual TaskDataPtr GetData () const final ;
44
44
45
45
virtual ~Task ();
46
46
47
47
protected:
48
- void InternalOrderTest (const std::string &str = __builtin_FUNCTION());
48
+ virtual void InternalOrderTest (const std::string &str = __builtin_FUNCTION()) final ;
49
49
TaskDataPtr task_data;
50
50
51
51
// implementation of "validation" function
You can’t perform that action at this time.
0 commit comments