|
Ingen
0.5.1
|
An Interface that writes LV2 atoms to an AtomSink. More...
#include <AtomWriter.hpp>
Inheritance diagram for Ingen::AtomWriter:
Collaboration diagram for Ingen::AtomWriter:Public Member Functions | |
| AtomWriter (URIMap &map, URIs &uris, AtomSink &sink) | |
| Raul::URI | uri () const |
| void | bundle_begin () |
| Begin a transaction. More... | |
| void | bundle_end () |
| End a transaction. More... | |
| void | put (const Raul::URI &uri, const Resource::Properties &properties, Resource::Graph ctx=Resource::Graph::DEFAULT) |
| void | delta (const Raul::URI &uri, const Resource::Properties &remove, const Resource::Properties &add) |
| void | copy (const Raul::URI &old_uri, const Raul::URI &new_uri) |
| void | move (const Raul::Path &old_path, const Raul::Path &new_path) |
| void | del (const Raul::URI &uri) |
| void | connect (const Raul::Path &tail, const Raul::Path &head) |
| void | disconnect (const Raul::Path &tail, const Raul::Path &head) |
| void | disconnect_all (const Raul::Path &graph, const Raul::Path &path) |
| void | set_property (const Raul::URI &subject, const Raul::URI &predicate, const Atom &value) |
| void | undo () |
| void | redo () |
| void | set_response_id (int32_t id) |
| Set the ID to use to respond to the next message. More... | |
| void | get (const Raul::URI &uri) |
| void | response (int32_t id, Status status, const std::string &subject) |
| void | error (const std::string &msg) |
Public Member Functions inherited from Ingen::Interface | |
| virtual SPtr< Interface > | respondee () const |
| virtual void | set_respondee (SPtr< Interface > respondee) |
|
virtual |
Begin a transaction.
This does not guarantee strict atomicity, but the events in a bundle will be considered one operation, and they will all be undone at once.
Implements Ingen::Interface.
|
virtual |
End a transaction.
Implements Ingen::Interface.
Reimplemented in Ingen::SocketWriter.
Referenced by Ingen::SocketWriter::bundle_end().
|
virtual |
Set the ID to use to respond to the next message.
Setting the ID to 0 will disable responses.
Implements Ingen::Interface.
1.8.12