OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
OdbDesignServerApp.h
Go to the documentation of this file.
1#pragma once
2
3#include "OdbServerAppBase.h"
4#include <memory>
5#include <string>
6#include <App/DesignCache.h>
7
8
9namespace Odb::App::Server
10{
12 {
13 public:
14 OdbDesignServerApp(int argc, char* argv[]);
15 //~OdbDesignServerApp();
16
17 //Utils::ExitCode Run() override;
18
19 protected:
20 void add_controllers() override;
21
22 // Override to implement gRPC service
23 void RunGrpcServer(const std::string& server_address, std::shared_ptr<Odb::Lib::App::DesignCache> cache) override;
24
25 // Inherited via OdbServerAppBase
26 bool preServerRun() override;
27 //bool postServerRun() override;
28
29 };
30}
void RunGrpcServer(const std::string &server_address, std::shared_ptr< Odb::Lib::App::DesignCache > cache) override