#include <conexus/server.h>
#include <conexus/endpoint.h>
Go to the source code of this file.
Classes | |
class | Conexus::EndpointServer |
The EndpointServer generates Endpoints as a result of operation. More... | |
Namespaces | |
namespace | Conexus |
Defines | |
#define | CONEXUS_ENDPOINTSERVER_GENERIC_CREATE() static EndpointServer::pointer generic_create() { return create(); } |
A convenience macro to create a static generic_create() method that returns an EndpointServer::pointer rather than the specific type smart pointer. |
#define CONEXUS_ENDPOINTSERVER_GENERIC_CREATE | ( | ) | static EndpointServer::pointer generic_create() { return create(); } |
A convenience macro to create a static generic_create() method that returns an EndpointServer::pointer rather than the specific type smart pointer.
To use this, just put: CONEXUS_ENDPOINTSERVER_GENERIC_CREATE(); somewhere in the public section of your class derived from EndpointServer.