summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Broadcaster.hpp3
-rw-r--r--src/server/BufferFactory.hpp3
-rw-r--r--src/server/CompiledGraph.cpp3
-rw-r--r--src/server/ControlBindings.hpp3
-rw-r--r--src/server/DirectDriver.hpp3
-rw-r--r--src/server/Driver.hpp3
-rw-r--r--src/server/Event.hpp8
-rw-r--r--src/server/LV2Options.hpp3
-rw-r--r--src/server/PortType.hpp3
-rw-r--r--src/server/PostProcessor.cpp3
-rw-r--r--src/server/Task.hpp3
-rw-r--r--src/server/ThreadManager.hpp3
-rw-r--r--src/server/UndoStack.hpp3
-rw-r--r--src/server/events/Disconnect.hpp3
-rw-r--r--src/server/ingen_lv2.cpp3
15 files changed, 32 insertions, 18 deletions
diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp
index 8e9848f4..39acca04 100644
--- a/src/server/Broadcaster.hpp
+++ b/src/server/Broadcaster.hpp
@@ -76,7 +76,8 @@ public:
* This makes doing the right thing in recursive functions that send
* updates simple (e.g. Event::post_process()).
*/
- class Transfer : public raul::Noncopyable {
+ class Transfer : public raul::Noncopyable
+ {
public:
explicit Transfer(Broadcaster& b) : broadcaster(b) {
if (++broadcaster._bundle_depth == 1) {
diff --git a/src/server/BufferFactory.hpp b/src/server/BufferFactory.hpp
index 58c5bba2..44409f3c 100644
--- a/src/server/BufferFactory.hpp
+++ b/src/server/BufferFactory.hpp
@@ -39,7 +39,8 @@ namespace server {
class Buffer;
class Engine;
-class INGEN_SERVER_API BufferFactory {
+class INGEN_SERVER_API BufferFactory
+{
public:
BufferFactory(Engine& engine, URIs& uris);
~BufferFactory();
diff --git a/src/server/CompiledGraph.cpp b/src/server/CompiledGraph.cpp
index e644d982..103d27a3 100644
--- a/src/server/CompiledGraph.cpp
+++ b/src/server/CompiledGraph.cpp
@@ -43,7 +43,8 @@ namespace ingen {
namespace server {
/** Graph contains ambiguous feedback with no delay nodes. */
-class FeedbackException : public std::exception {
+class FeedbackException : public std::exception
+{
public:
explicit FeedbackException(const BlockImpl* n)
: node(n)
diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp
index e71befa1..7c5ebb1f 100644
--- a/src/server/ControlBindings.hpp
+++ b/src/server/ControlBindings.hpp
@@ -51,7 +51,8 @@ class Engine;
class RunContext;
class PortImpl;
-class ControlBindings {
+class ControlBindings
+{
public:
enum class Type : uint16_t {
NULL_CONTROL,
diff --git a/src/server/DirectDriver.hpp b/src/server/DirectDriver.hpp
index 7c683493..48de44f9 100644
--- a/src/server/DirectDriver.hpp
+++ b/src/server/DirectDriver.hpp
@@ -51,7 +51,8 @@ class Buffer;
/** Driver for running Ingen directly as a library.
* \ingroup engine
*/
-class DirectDriver : public Driver {
+class DirectDriver : public Driver
+{
public:
DirectDriver(Engine& engine,
double sample_rate,
diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp
index 1bc6213d..0580e84d 100644
--- a/src/server/Driver.hpp
+++ b/src/server/Driver.hpp
@@ -44,7 +44,8 @@ class RunContext;
*
* \ingroup engine
*/
-class Driver : public raul::Noncopyable {
+class Driver : public raul::Noncopyable
+{
public:
virtual ~Driver() = default;
diff --git a/src/server/Event.hpp b/src/server/Event.hpp
index 53d33e89..485badb1 100644
--- a/src/server/Event.hpp
+++ b/src/server/Event.hpp
@@ -63,10 +63,10 @@ public:
/** Execution mode for events that block and unblock preprocessing. */
enum class Execution {
- NORMAL, ///< Normal pipelined execution
- ATOMIC, ///< Block pre-processing until this event is executed
- BLOCK, ///< Begin atomic block of events
- UNBLOCK ///< Finish atomic executed block of events
+ NORMAL, ///< Normal pipelined execution
+ ATOMIC, ///< Block pre-processing until this event is executed
+ BLOCK, ///< Begin atomic block of events
+ UNBLOCK ///< Finish atomic executed block of events
};
/** Claim position in undo stack before pre-processing (non-realtime). */
diff --git a/src/server/LV2Options.hpp b/src/server/LV2Options.hpp
index 2ae1c6d7..50544e01 100644
--- a/src/server/LV2Options.hpp
+++ b/src/server/LV2Options.hpp
@@ -34,7 +34,8 @@ class World;
namespace server {
-class LV2Options : public ingen::LV2Features::Feature {
+class LV2Options : public ingen::LV2Features::Feature
+{
public:
explicit LV2Options(const URIs& uris)
: _uris(uris)
diff --git a/src/server/PortType.hpp b/src/server/PortType.hpp
index d67429c9..2df3aa9d 100644
--- a/src/server/PortType.hpp
+++ b/src/server/PortType.hpp
@@ -32,7 +32,8 @@ namespace ingen {
* of its contents). Ports with different types can contain the same type of
* data, but may e.g. have different access semantics.
*/
-class PortType {
+class PortType
+{
public:
enum ID {
UNKNOWN = 0,
diff --git a/src/server/PostProcessor.cpp b/src/server/PostProcessor.cpp
index d02935a9..88df994c 100644
--- a/src/server/PostProcessor.cpp
+++ b/src/server/PostProcessor.cpp
@@ -26,7 +26,8 @@ namespace server {
class PreProcessContext;
-class Sentinel : public Event {
+class Sentinel : public Event
+{
public:
explicit Sentinel(Engine& engine) noexcept : Event(engine) {}
diff --git a/src/server/Task.hpp b/src/server/Task.hpp
index 7a50fe8e..83782098 100644
--- a/src/server/Task.hpp
+++ b/src/server/Task.hpp
@@ -32,7 +32,8 @@ namespace server {
class BlockImpl;
class RunContext;
-class Task {
+class Task
+{
public:
enum class Mode {
SINGLE, ///< Single block to run
diff --git a/src/server/ThreadManager.hpp b/src/server/ThreadManager.hpp
index 4db87c1c..7c895607 100644
--- a/src/server/ThreadManager.hpp
+++ b/src/server/ThreadManager.hpp
@@ -31,7 +31,8 @@ enum ThreadFlag {
THREAD_MESSAGE = 1 << 3,
};
-class INGEN_SERVER_API ThreadManager {
+class INGEN_SERVER_API ThreadManager
+{
public:
static inline void set_flag(ThreadFlag f) {
#ifndef NDEBUG
diff --git a/src/server/UndoStack.hpp b/src/server/UndoStack.hpp
index 081d3ff4..8195920a 100644
--- a/src/server/UndoStack.hpp
+++ b/src/server/UndoStack.hpp
@@ -39,7 +39,8 @@ class URIs;
namespace server {
-class INGEN_SERVER_API UndoStack : public AtomSink {
+class INGEN_SERVER_API UndoStack : public AtomSink
+{
public:
struct Entry {
Entry(time_t t = 0) noexcept : time(t) {}
diff --git a/src/server/events/Disconnect.hpp b/src/server/events/Disconnect.hpp
index c6db44be..5ce635e6 100644
--- a/src/server/events/Disconnect.hpp
+++ b/src/server/events/Disconnect.hpp
@@ -61,7 +61,8 @@ public:
void post_process() override;
void undo(Interface& target) override;
- class Impl {
+ class Impl
+ {
public:
Impl(Engine& e, GraphImpl* graph, PortImpl* t, InputPort* h);
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 203fc115..8d8a2b75 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -90,7 +90,8 @@ struct LV2Graph : public Parser::ResourceRecord {
};
/** Ingen LV2 library. */
-class Lib {
+class Lib
+{
public:
explicit Lib(const char* bundle_path);