Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
746617fe
Commit
746617fe
authored
Oct 09, 2017
by
Simon Spannagel
Browse files
Algorithm: make base class functions purely virtual
parent
eca995c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/Algorithm.h
View file @
746617fe
...
...
@@ -42,9 +42,9 @@ namespace corryvreckan {
// Three main functions - initialise, run and finalise. Called for every
// algorithm
virtual
void
initialise
(
Parameters
*
)
{}
virtual
StatusCode
run
(
Clipboard
*
)
{}
virtual
void
finalise
()
{}
virtual
void
initialise
(
Parameters
*
)
=
0
;
virtual
StatusCode
run
(
Clipboard
*
)
=
0
;
virtual
void
finalise
()
=
0
;
// Methods to get member variables
std
::
string
getName
()
{
return
m_name
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment