OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
IOdbServerApp.h
Go to the documentation of this file.
1#pragma once
2
3#include "IOdbApp.h"
4#include "../odbdesign_export.h"
6#include "DesignCache.h"
7#include <memory>
8
9namespace Odb::Lib::App
10{
11 class ODBDESIGN_EXPORT IOdbServerApp : public virtual IOdbApp
12 {
13 public:
14 virtual ~IOdbServerApp() {}
15
16 virtual CrowApp& crow_app() = 0;
18 virtual void request_auth(std::unique_ptr<RequestAuthenticationBase> requestAuthentication) = 0;
19 virtual std::shared_ptr<DesignCache> design_cache() = 0;
20 virtual void design_cache(std::shared_ptr<DesignCache> pDesignCache) = 0;
21
22 protected:
23 IOdbServerApp() = default;
24
25 };
26}
virtual void design_cache(std::shared_ptr< DesignCache > pDesignCache)=0
virtual void request_auth(std::unique_ptr< RequestAuthenticationBase > requestAuthentication)=0
virtual RequestAuthenticationBase & request_auth()=0
virtual std::shared_ptr< DesignCache > design_cache()=0
virtual CrowApp & crow_app()=0
crow::Crow< crow::CORSHandler > CrowApp
Definition crow_win.h:19
#define ODBDESIGN_EXPORT