aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-13 01:11:58 +0000
committerDavid Robillard <d@drobilla.net>2013-01-13 01:11:58 +0000
commit79acce6ded68062851b9e4ab4966c74e9fc7a714 (patch)
treec98649e6e7f9d7b59e8c2c5de811f6436d0fa522 /src/engine/machina
parent8941b58c8737d948f4c925955506da666ceb60ed (diff)
downloadmachina-79acce6ded68062851b9e4ab4966c74e9fc7a714.tar.gz
machina-79acce6ded68062851b9e4ab4966c74e9fc7a714.tar.bz2
machina-79acce6ded68062851b9e4ab4966c74e9fc7a714.zip
Use lowercase namespace names.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4945 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina')
-rw-r--r--src/engine/machina/Context.hpp4
-rw-r--r--src/engine/machina/Controller.hpp10
-rw-r--r--src/engine/machina/Driver.hpp4
-rw-r--r--src/engine/machina/Engine.hpp4
-rw-r--r--src/engine/machina/Evolver.hpp4
-rw-r--r--src/engine/machina/Loader.hpp4
-rw-r--r--src/engine/machina/Machine.hpp4
-rw-r--r--src/engine/machina/Mutation.hpp4
-rw-r--r--src/engine/machina/URIs.hpp4
-rw-r--r--src/engine/machina/Updates.hpp4
-rw-r--r--src/engine/machina/types.hpp4
11 files changed, 25 insertions, 25 deletions
diff --git a/src/engine/machina/Context.hpp b/src/engine/machina/Context.hpp
index 8195a0e..bedaa76 100644
--- a/src/engine/machina/Context.hpp
+++ b/src/engine/machina/Context.hpp
@@ -22,7 +22,7 @@
#include "raul/Atom.hpp"
#include "raul/TimeSlice.hpp"
-namespace Machina {
+namespace machina {
class MIDISink;
@@ -47,6 +47,6 @@ private:
MIDISink* _sink;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_CONTEXT_HPP
diff --git a/src/engine/machina/Controller.hpp b/src/engine/machina/Controller.hpp
index d5a7928..c77ee16 100644
--- a/src/engine/machina/Controller.hpp
+++ b/src/engine/machina/Controller.hpp
@@ -34,22 +34,22 @@ namespace Raul {
class Atom;
}
-namespace Machina {
+namespace machina {
class Engine;
class Machine;
class Stateful;
-namespace Client {
+namespace client {
class ClientModel; class ClientObject;
}
class Controller
{
public:
- Controller(SPtr<Engine> engine, Client::ClientModel& client_model);
+ Controller(SPtr<Engine> engine, client::ClientModel& client_model);
- uint64_t create(const Client::ClientObject& obj);
+ uint64_t create(const client::ClientObject& obj);
uint64_t connect(uint64_t tail_id, uint64_t head_id);
void set_property(uint64_t object_id,
@@ -79,7 +79,7 @@ private:
Objects _objects;
SPtr<Engine> _engine;
- Client::ClientModel& _client_model;
+ client::ClientModel& _client_model;
SPtr<Raul::RingBuffer> _updates;
};
diff --git a/src/engine/machina/Driver.hpp b/src/engine/machina/Driver.hpp
index 1ef0a7f..3e65c9d 100644
--- a/src/engine/machina/Driver.hpp
+++ b/src/engine/machina/Driver.hpp
@@ -24,7 +24,7 @@
#include "MIDISink.hpp"
-namespace Machina {
+namespace machina {
class Machine;
@@ -70,6 +70,6 @@ protected:
SPtr<Raul::RingBuffer> _updates;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_JACKDRIVER_HPP
diff --git a/src/engine/machina/Engine.hpp b/src/engine/machina/Engine.hpp
index 1c8d6ae..7e0c9bc 100644
--- a/src/engine/machina/Engine.hpp
+++ b/src/engine/machina/Engine.hpp
@@ -28,7 +28,7 @@
#include "machina/Driver.hpp"
#include "machina/Loader.hpp"
-namespace Machina {
+namespace machina {
class Machine;
@@ -69,6 +69,6 @@ private:
Raul::Forge _forge;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_ENGINE_HPP
diff --git a/src/engine/machina/Evolver.hpp b/src/engine/machina/Evolver.hpp
index 7c5504e..a467f4f 100644
--- a/src/engine/machina/Evolver.hpp
+++ b/src/engine/machina/Evolver.hpp
@@ -30,7 +30,7 @@ template<typename G>
class HybridMutation;
}
-namespace Machina {
+namespace machina {
class Machine;
class Problem;
@@ -59,6 +59,6 @@ private:
Schrodinbit _improvement;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_EVOLVER_HPP
diff --git a/src/engine/machina/Loader.hpp b/src/engine/machina/Loader.hpp
index 665f7b7..edcfabc 100644
--- a/src/engine/machina/Loader.hpp
+++ b/src/engine/machina/Loader.hpp
@@ -26,7 +26,7 @@
using Sord::Namespaces;
-namespace Machina {
+namespace machina {
class Machine;
@@ -42,6 +42,6 @@ private:
Sord::World& _rdf_world;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_LOADER_HPP
diff --git a/src/engine/machina/Machine.hpp b/src/engine/machina/Machine.hpp
index d65cec4..84e819d 100644
--- a/src/engine/machina/Machine.hpp
+++ b/src/engine/machina/Machine.hpp
@@ -31,7 +31,7 @@
#include "types.hpp"
#include "Node.hpp"
-namespace Machina {
+namespace machina {
class Context;
class Controller;
@@ -105,6 +105,6 @@ private:
bool _is_finished;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_MACHINE_HPP
diff --git a/src/engine/machina/Mutation.hpp b/src/engine/machina/Mutation.hpp
index dd2dbbf..bce4abe 100644
--- a/src/engine/machina/Mutation.hpp
+++ b/src/engine/machina/Mutation.hpp
@@ -27,7 +27,7 @@
# define SUPER : public Mutation
#endif
-namespace Machina {
+namespace machina {
class Machine;
@@ -50,6 +50,6 @@ struct AdjustEdge SUPER { void mutate(Machine& machine); };
} // namespace Mutation
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_MACHINE_MUTATION_HPP
diff --git a/src/engine/machina/URIs.hpp b/src/engine/machina/URIs.hpp
index caed196..3f63fd2 100644
--- a/src/engine/machina/URIs.hpp
+++ b/src/engine/machina/URIs.hpp
@@ -24,7 +24,7 @@
#include "machina/types.hpp"
-namespace Machina {
+namespace machina {
class URIs
{
@@ -73,6 +73,6 @@ private:
static URIs* _instance;
};
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_URIS_HPP
diff --git a/src/engine/machina/Updates.hpp b/src/engine/machina/Updates.hpp
index 5f6a324..c7d02ab 100644
--- a/src/engine/machina/Updates.hpp
+++ b/src/engine/machina/Updates.hpp
@@ -24,7 +24,7 @@
#include "machina/types.hpp"
-namespace Machina {
+namespace machina {
enum UpdateType {
UPDATE_SET = 1
@@ -42,6 +42,6 @@ read_set(SPtr<Raul::RingBuffer> buf,
URIInt* key,
Raul::Atom* value);
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_UPDATES_HPP
diff --git a/src/engine/machina/types.hpp b/src/engine/machina/types.hpp
index 23d5f1c..f929d87 100644
--- a/src/engine/machina/types.hpp
+++ b/src/engine/machina/types.hpp
@@ -22,7 +22,7 @@
#include "raul/RingBuffer.hpp"
-namespace Machina {
+namespace machina {
typedef unsigned char byte;
@@ -52,6 +52,6 @@ SPtr<T> const_ptr_cast(const SPtr<U>& r) {
return std::const_pointer_cast<T>(r);
}
-} // namespace Machina
+} // namespace machina
#endif // MACHINA_TYPES_HPP