$darkmode
server_mock.cpp File Reference
#include "server.hpp"
#include <memory>
#include <cloe/registrar.hpp>
Include dependency graph for server_mock.cpp:

Classes

class  engine::ServerRegistrarImpl
 
class  engine::ServerImpl
 

Functions

std::unique_ptr< Server > engine::make_server (const cloe::ServerConf &c)
 

Detailed Description

See also
server.hpp
server.cpp

This file is included in the build when the server component is disabled. This allows us to decouple the engine from the oak dependency with all it entails in one place.

We still need to implement the interfaces defined in server.hpp though.

Having a separate file makes it easier to diff the two implmentation files.

Function Documentation

◆ make_server()

std::unique_ptr< Server > engine::make_server ( const cloe::ServerConf c)

Create a new Server instance with the given configuration.

Here is the call graph for this function:
Here is the caller graph for this function: