summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 19:06:25 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 19:06:25 +0200
commit04b4d70f38402b1e4e4751157f42eb558bd60f9c (patch)
tree7046ce56d1fb498f5e8720c5fb59ae9895fecb39 /src/server/events
parent394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff)
downloadingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz
ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2
ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip
Use override specifiers
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Connect.hpp8
-rw-r--r--src/server/events/Copy.hpp8
-rw-r--r--src/server/events/CreateBlock.hpp8
-rw-r--r--src/server/events/CreateGraph.hpp8
-rw-r--r--src/server/events/CreatePort.hpp8
-rw-r--r--src/server/events/Delete.hpp8
-rw-r--r--src/server/events/Delta.hpp10
-rw-r--r--src/server/events/Disconnect.hpp8
-rw-r--r--src/server/events/DisconnectAll.hpp8
-rw-r--r--src/server/events/Get.hpp6
-rw-r--r--src/server/events/Mark.hpp8
-rw-r--r--src/server/events/Move.hpp8
-rw-r--r--src/server/events/SetPortValue.hpp6
-rw-r--r--src/server/events/Undo.hpp6
14 files changed, 54 insertions, 54 deletions
diff --git a/src/server/events/Connect.hpp b/src/server/events/Connect.hpp
index b4894875..16ea8bc9 100644
--- a/src/server/events/Connect.hpp
+++ b/src/server/events/Connect.hpp
@@ -49,10 +49,10 @@ public:
SampleCount timestamp,
const ingen::Connect& msg);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
const ingen::Connect _msg;
diff --git a/src/server/events/Copy.hpp b/src/server/events/Copy.hpp
index bd52baf2..f31fe4d4 100644
--- a/src/server/events/Copy.hpp
+++ b/src/server/events/Copy.hpp
@@ -44,10 +44,10 @@ public:
SampleCount timestamp,
const ingen::Copy& msg);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
bool engine_to_engine(PreProcessContext& ctx);
diff --git a/src/server/events/CreateBlock.hpp b/src/server/events/CreateBlock.hpp
index 35707f0d..02bfeda7 100644
--- a/src/server/events/CreateBlock.hpp
+++ b/src/server/events/CreateBlock.hpp
@@ -45,10 +45,10 @@ public:
const Raul::Path& path,
Properties& properties);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
Raul::Path _path;
diff --git a/src/server/events/CreateGraph.hpp b/src/server/events/CreateGraph.hpp
index 3658d359..1537283e 100644
--- a/src/server/events/CreateGraph.hpp
+++ b/src/server/events/CreateGraph.hpp
@@ -48,10 +48,10 @@ public:
~CreateGraph();
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
GraphImpl* graph() { return _graph; }
diff --git a/src/server/events/CreatePort.hpp b/src/server/events/CreatePort.hpp
index 13402087..6c760d29 100644
--- a/src/server/events/CreatePort.hpp
+++ b/src/server/events/CreatePort.hpp
@@ -52,10 +52,10 @@ public:
const Raul::Path& path,
const Properties& properties);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
enum class Flow {
diff --git a/src/server/events/Delete.hpp b/src/server/events/Delete.hpp
index 5d00c5ea..ebc57122 100644
--- a/src/server/events/Delete.hpp
+++ b/src/server/events/Delete.hpp
@@ -56,10 +56,10 @@ public:
~Delete();
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
using IndexChange = std::pair<uint32_t, uint32_t>;
diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp
index b3bb0537..d36e81aa 100644
--- a/src/server/events/Delta.hpp
+++ b/src/server/events/Delta.hpp
@@ -70,12 +70,12 @@ public:
uint32_t size,
uint32_t type);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
- Execution get_execution() const;
+ Execution get_execution() const override;
private:
enum class Type {
diff --git a/src/server/events/Disconnect.hpp b/src/server/events/Disconnect.hpp
index 7649d9e4..de4bfe57 100644
--- a/src/server/events/Disconnect.hpp
+++ b/src/server/events/Disconnect.hpp
@@ -51,10 +51,10 @@ public:
~Disconnect();
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
class Impl {
public:
diff --git a/src/server/events/DisconnectAll.hpp b/src/server/events/DisconnectAll.hpp
index aaebf872..aca5fbce 100644
--- a/src/server/events/DisconnectAll.hpp
+++ b/src/server/events/DisconnectAll.hpp
@@ -54,10 +54,10 @@ public:
~DisconnectAll();
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
typedef std::list<Disconnect::Impl*> Impls;
diff --git a/src/server/events/Get.hpp b/src/server/events/Get.hpp
index 0cfbfe43..9598010c 100644
--- a/src/server/events/Get.hpp
+++ b/src/server/events/Get.hpp
@@ -46,9 +46,9 @@ public:
SampleCount timestamp,
const ingen::Get& msg);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context) {}
- void post_process();
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override {}
+ void post_process() override;
private:
const ingen::Get _msg;
diff --git a/src/server/events/Mark.hpp b/src/server/events/Mark.hpp
index 1d8bffdc..076b67dd 100644
--- a/src/server/events/Mark.hpp
+++ b/src/server/events/Mark.hpp
@@ -46,11 +46,11 @@ public:
SampleCount timestamp,
const ingen::BundleEnd& msg);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
- Execution get_execution() const;
+ Execution get_execution() const override;
private:
enum class Type { BUNDLE_BEGIN, BUNDLE_END };
diff --git a/src/server/events/Move.hpp b/src/server/events/Move.hpp
index 455a84d4..510fcfce 100644
--- a/src/server/events/Move.hpp
+++ b/src/server/events/Move.hpp
@@ -41,10 +41,10 @@ public:
SampleCount timestamp,
const ingen::Move& msg);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
- void undo(Interface& target);
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
+ void undo(Interface& target) override;
private:
const ingen::Move _msg;
diff --git a/src/server/events/SetPortValue.hpp b/src/server/events/SetPortValue.hpp
index 01bad6a8..4fe42659 100644
--- a/src/server/events/SetPortValue.hpp
+++ b/src/server/events/SetPortValue.hpp
@@ -47,9 +47,9 @@ public:
bool activity,
bool synthetic = false);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
bool synthetic() const { return _synthetic; }
diff --git a/src/server/events/Undo.hpp b/src/server/events/Undo.hpp
index 4e09c7f3..f8469960 100644
--- a/src/server/events/Undo.hpp
+++ b/src/server/events/Undo.hpp
@@ -42,9 +42,9 @@ public:
SampleCount timestamp,
const ingen::Redo& msg);
- bool pre_process(PreProcessContext& ctx);
- void execute(RunContext& context);
- void post_process();
+ bool pre_process(PreProcessContext& ctx) override;
+ void execute(RunContext& context) override;
+ void post_process() override;
private:
UndoStack::Entry _entry;