aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/Machine.cpp2
-rw-r--r--src/engine/Node.cpp9
2 files changed, 8 insertions, 3 deletions
diff --git a/src/engine/Machine.cpp b/src/engine/Machine.cpp
index e7247c8..a2d650d 100644
--- a/src/engine/Machine.cpp
+++ b/src/engine/Machine.cpp
@@ -227,7 +227,7 @@ Machine::write_state(Raul::RDFWriter& writer)
RdfId(RdfId::RESOURCE, "machina:node"),
(*n)->id());
}
-}
+}
} // namespace Machina
diff --git a/src/engine/Node.cpp b/src/engine/Node.cpp
index 224718e..8bf9246 100644
--- a/src/engine/Node.cpp
+++ b/src/engine/Node.cpp
@@ -125,8 +125,13 @@ Node::write_state(Raul::RDFWriter& writer)
RdfId(RdfId::RESOURCE, "machina:Node"));
writer.write(_id,
- RdfId(RdfId::RESOURCE, "machina:duration"),
- Raul::Atom((float)_duration));
+ RdfId(RdfId::RESOURCE, "machina:duration"),
+ Raul::Atom((float)_duration));
+
+ for (Node::EdgeList::const_iterator e = _outgoing_edges.begin();
+ e != _outgoing_edges.end(); ++e)
+ std::cerr << "FIXME: write edge\n";
+
}