Caffa  1.1.0
C++ Application Framework for Embedded Systems with introspection
cafRpcApplication.h
1 // ##################################################################################################
2 //
3 // Caffa
4 // Copyright (C) 2021- 3d Radar AS
5 //
6 // GNU Lesser General Public License Usage
7 // This library is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU Lesser General Public License as published by
9 // the Free Software Foundation; either version 2.1 of the License, or
10 // (at your option) any later version.
11 //
12 // This library is distributed in the hope that it will be useful, but WITHOUT ANY
13 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 // FITNESS FOR A PARTICULAR PURPOSE.
15 //
16 // See the GNU Lesser General Public License at <<http://www.gnu.org/licenses/lgpl-2.1.html>>
17 // for more details.
18 //
19 #pragma once
20 
21 #include "cafApplication.h"
22 
23 #include <string>
24 
25 namespace caffa::rpc
26 {
28 {
29 public:
30  RpcApplication( unsigned int capabilities );
32 
33  static RpcApplication* instance();
34 
35  static std::string readKeyOrCertificate( const std::string& path );
36 };
37 } // namespace caffa::rpc
AppCapability
Application capability Defines what type of application it is. These flags can be combined...
Definition: cafApplication.h:46
Definition: cafApplication.h:116
Definition: cafRpcApplication.h:27
Definition: cafRestAppService.h:28