|
Ingen
0.5.1
|
Interface that forwards all calls to several sinks. More...
#include <Tee.hpp>
Inheritance diagram for Ingen::Tee:
Collaboration diagram for Ingen::Tee:Public Types | |
| typedef std::set< SPtr< Interface > > | Sinks |
Public Member Functions | |
| Tee (const Sinks &sinks={}) | |
| void | add_sink (SPtr< Interface > sink) |
| bool | remove_sink (SPtr< Interface > sink) |
| virtual SPtr< Interface > | respondee () const |
| virtual void | set_respondee (SPtr< Interface > respondee) |
| 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) |
| Raul::URI | uri () const |
| const Sinks & | sinks () const |
| Sinks & | sinks () |
Interface that forwards all calls to several sinks.
|
inlinevirtual |
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.
|
inlinevirtual |
End a transaction.
Implements Ingen::Interface.
|
inlinevirtual |
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