Ingen
0.5.1
|
The client side of an Ingen socket connection. More...
#include <SocketClient.hpp>
Public Member Functions | |
SocketClient (World &world, const Raul::URI &uri, SPtr< Raul::Socket > sock, SPtr< Interface > respondee) | |
virtual SPtr< Interface > | respondee () const |
virtual void | set_respondee (SPtr< Interface > respondee) |
Public Member Functions inherited from Ingen::SocketWriter | |
SocketWriter (URIMap &map, URIs &uris, const Raul::URI &uri, SPtr< Raul::Socket > sock) | |
size_t | text_sink (const void *buf, size_t len) |
Pure virtual text sink which receives calls serialized to Turtle. More... | |
void | bundle_end () |
Override of bundle_end to terminate bundles in the stream. More... | |
Public Member Functions inherited from Ingen::TurtleWriter | |
TurtleWriter (URIMap &map, URIs &uris, const Raul::URI &uri) | |
bool | write (const LV2_Atom *msg, int32_t default_id=0) |
AtomSink method which receives calls serialized to LV2 atoms. More... | |
Raul::URI | uri () const |
Public Member Functions inherited from Ingen::AtomWriter | |
AtomWriter (URIMap &map, URIs &uris, AtomSink &sink) | |
void | bundle_begin () |
Begin 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) |
Static Public Member Functions | |
static SPtr< Ingen::Interface > | new_socket_interface (Ingen::World *world, const Raul::URI &uri, SPtr< Ingen::Interface > respondee) |
static void | register_factories (World *world) |
Additional Inherited Members | |
Protected Attributes inherited from Ingen::SocketWriter | |
SPtr< Raul::Socket > | _socket |
Protected Attributes inherited from Ingen::TurtleWriter | |
URIMap & | _map |
Sratom * | _sratom |
SerdNode | _base |
SerdURI | _base_uri |
SerdEnv * | _env |
SerdWriter * | _writer |
Raul::URI | _uri |
bool | _wrote_prefixes |
The client side of an Ingen socket connection.