diff options
author | David Robillard <d@drobilla.net> | 2007-01-23 02:34:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-23 02:34:45 +0000 |
commit | 4ba23866bc60df1d63f9a18cb61808825e7d3303 (patch) | |
tree | c55933f8923a8c57d8fb5f72671464d0b639a057 /src/main.cpp | |
parent | b19a6d45819da3094bdf76545d1b54ae39036313 (diff) | |
download | machina-4ba23866bc60df1d63f9a18cb61808825e7d3303.tar.gz machina-4ba23866bc60df1d63f9a18cb61808825e7d3303.tar.bz2 machina-4ba23866bc60df1d63f9a18cb61808825e7d3303.zip |
Renamed "MetaState" to "Machine".
git-svn-id: http://svn.drobilla.net/lad/machina@268 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index bf3148e..9b4511b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,7 +15,7 @@ */ #include <iostream> -#include "MetaState.hpp" +#include "Machine.hpp" #include "Node.hpp" #include "Action.hpp" #include "Edge.hpp" @@ -42,19 +42,19 @@ Node* create_debug_node(const string& name, FrameCount duration) int main()//int argc, char** argv) { - MetaState ms(1); + Machine m(1); Node* n1 = create_debug_node("1", 1); Node* n2 = create_debug_node("2", 10); - ms.initial_node()->add_outgoing_edge(new Edge(n1)); + m.initial_node()->add_outgoing_edge(new Edge(n1)); n1->add_outgoing_edge(new Edge(n2)); - n2->add_outgoing_edge(new Edge(ms.initial_node())); + n2->add_outgoing_edge(new Edge(m.initial_node())); Timestamp t = 0; while (t < 80) { - ms.process(10); + m.process(10); t += 10; } |