.TH "lo::Server" 3 "Version 0.32" "liblo" \" -*- nroff -*- .ad l .nh .SH NAME lo::Server \- Class representing a local OSC server, proxy for \fBlo_server\fP\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherited by \fBlo::ServerThread\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBServer\fP (\fBlo_server\fP s)" .br .ti -1c .RI "template \fBServer\fP (const num_string_type &port, E &&e)" .br .ti -1c .RI "template \fBServer\fP (const num_string_type &port, int proto, E &&e=0)" .br .ti -1c .RI "template \fBServer\fP (const string_type &group, const num_string_type &port, const string_type &iface=0, const string_type &ip=0, E &&e=0)" .br .ti -1c .RI "\fBServer\fP (const num_string_type &port, \fBlo_err_handler\fP err_h=0)" .br .ti -1c .RI "\fBServer\fP (const num_string_type &port, int proto, \fBlo_err_handler\fP err_h=0)" .br .ti -1c .RI "\fBServer\fP (const string_type &group, const num_string_type &port, const string_type &iface='', const string_type &ip='', \fBlo_err_handler\fP err_h=0)" .br .ti -1c .RI "virtual \fB~Server\fP ()" .br .ti -1c .RI "\fBMethod\fP \fBadd_method\fP (const string_type &path, const string_type &types, \fBlo_method_handler\fP h, void *data) const" .br .ti -1c .RI "\fBLO_ADD_METHOD\fP ((const char *, const char *, \fBlo_arg\fP **, int),((char *) 0,(char *) 0,(\fBlo_arg\fP **) 0,(int) 0),(path, types, argv, argc))" .br .ti -1c .RI "\fBLO_ADD_METHOD\fP ((const char *, \fBlo_arg\fP **, int),((char *) 0,(\fBlo_arg\fP **) 0,(int) 0),(types, argv, argc))" .br .in -1c .SH "Detailed Description" .PP Class representing a local OSC server, proxy for \fBlo_server\fP\&. .PP Definition at line \fB499\fP of file \fBlo_cpp\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "lo::Server::Server (\fBlo_server\fP s)\fR [inline]\fP" Constructor\&. .PP Definition at line \fB503\fP of file \fBlo_cpp\&.h\fP\&. .SS "template lo::Server::Server (const num_string_type & port, E && e)\fR [inline]\fP" Constructor taking an error handler\&. .PP Definition at line \fB507\fP of file \fBlo_cpp\&.h\fP\&. .SS "template lo::Server::Server (const num_string_type & port, int proto, E && e = \fR0\fP)\fR [inline]\fP" Constructor taking a port number and error handler\&. .PP Definition at line \fB524\fP of file \fBlo_cpp\&.h\fP\&. .SS "template lo::Server::Server (const string_type & group, const num_string_type & port, const string_type & iface = \fR0\fP, const string_type & ip = \fR0\fP, E && e = \fR0\fP)\fR [inline]\fP" Constructor taking a multicast group, port number, interface identifier or IP, and error handler\&. .PP Definition at line \fB542\fP of file \fBlo_cpp\&.h\fP\&. .SS "lo::Server::Server (const num_string_type & port, \fBlo_err_handler\fP err_h = \fR0\fP)\fR [inline]\fP" Constructor taking a port number and error handler\&. .PP Definition at line \fB565\fP of file \fBlo_cpp\&.h\fP\&. .SS "lo::Server::Server (const num_string_type & port, int proto, \fBlo_err_handler\fP err_h = \fR0\fP)\fR [inline]\fP" Constructor taking a port number, protocol, and error handler\&. .PP Definition at line \fB569\fP of file \fBlo_cpp\&.h\fP\&. .SS "lo::Server::Server (const string_type & group, const num_string_type & port, const string_type & iface = \fR''\fP, const string_type & ip = \fR''\fP, \fBlo_err_handler\fP err_h = \fR0\fP)\fR [inline]\fP" Constructor taking a multicast group, port number, interface identifier or IP, and error handler\&. .PP Definition at line \fB575\fP of file \fBlo_cpp\&.h\fP\&. .SS "virtual lo::Server::~Server ()\fR [inline]\fP, \fR [virtual]\fP" Destructor .PP Definition at line \fB584\fP of file \fBlo_cpp\&.h\fP\&. .PP References \fBlo_server_free()\fP\&. .SH "Member Function Documentation" .PP .SS "\fBMethod\fP lo::Server::add_method (const string_type & path, const string_type & types, \fBlo_method_handler\fP h, void * data) const\fR [inline]\fP" Add a method to handle a given path and type, with a handler and user data pointer\&. .PP Definition at line \fB593\fP of file \fBlo_cpp\&.h\fP\&. .SS "lo::Server::LO_ADD_METHOD ((const char *, const char *, \fBlo_arg\fP **, int), ((char *) 0,(char *) 0,(\fBlo_arg\fP **) 0,(int) 0), (path, types, argv, argc))" Add a method to handle a given path and type, with a handler taking (argv, argc), user data\&. .PP Referenced by \fBLO_ADD_METHOD()\fP\&. .SS "lo::Server::LO_ADD_METHOD ((const char *, \fBlo_arg\fP **, int), ((char *) 0,(\fBlo_arg\fP **) 0,(int) 0), (types, argv, argc))" Add a method to handle a given path and type, with a handler taking (types, argv, argc), user data\&. .PP References \fBLO_ADD_METHOD()\fP\&. .SH "Author" .PP Generated automatically by Doxygen for liblo from the source code\&.