|
Ingen
0.5.1
|
An Interface that creates and enqueues Events for the Engine to execute. More...
#include <EventWriter.hpp>
Inheritance diagram for Ingen::Server::EventWriter:
Collaboration diagram for Ingen::Server::EventWriter:Public Member Functions | |
| EventWriter (Engine &engine) | |
| Raul::URI | uri () const |
| virtual SPtr< Interface > | respondee () const |
| virtual void | set_respondee (SPtr< Interface > respondee) |
| virtual void | set_response_id (int32_t id) |
| Set the ID to use to respond to the next message. More... | |
| virtual void | bundle_begin () |
| Begin a transaction. More... | |
| virtual void | bundle_end () |
| End a transaction. More... | |
| virtual void | put (const Raul::URI &path, const Resource::Properties &properties, const Resource::Graph g=Resource::Graph::DEFAULT) |
| virtual void | delta (const Raul::URI &path, const Resource::Properties &remove, const Resource::Properties &add) |
| virtual void | copy (const Raul::URI &old_uri, const Raul::URI &new_uri) |
| virtual void | move (const Raul::Path &old_path, const Raul::Path &new_path) |
| virtual void | connect (const Raul::Path &tail, const Raul::Path &head) |
| virtual void | disconnect (const Raul::Path &tail, const Raul::Path &head) |
| virtual void | set_property (const Raul::URI &subject_path, const Raul::URI &predicate, const Atom &value) |
| virtual void | del (const Raul::URI &uri) |
| virtual void | disconnect_all (const Raul::Path &graph, const Raul::Path &path) |
| virtual void | undo () |
| virtual void | redo () |
| virtual void | get (const Raul::URI &uri) |
| virtual void | response (int32_t id, Status status, const std::string &subject) |
| N/A. | |
| virtual void | error (const std::string &msg) |
| N/A. | |
| void | set_event_mode (Event::Mode mode) |
| Event::Mode | get_event_mode () |
Protected Attributes | |
| Engine & | _engine |
| SPtr< Interface > | _respondee |
| int32_t | _request_id |
| Event::Mode | _event_mode |
|
virtual |
Set the ID to use to respond to the next message.
Setting the ID to 0 will disable responses.
Implements Ingen::Interface.
|
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.
References Ingen::Server::Engine::enqueue_event().
|
virtual |
1.8.12