[DEV/API] change .h in .hpp
This commit is contained in:
parent
c8d8d55a59
commit
40853a9949
@ -24,10 +24,10 @@ def create(target, module_name):
|
||||
'*operator<<*',
|
||||
])
|
||||
my_module.add_exclude_file([
|
||||
'debug.h',
|
||||
'debug.hpp',
|
||||
])
|
||||
my_module.add_file_patterns([
|
||||
'*.h',
|
||||
'*.hpp',
|
||||
'*.md',
|
||||
])
|
||||
|
||||
|
@ -54,28 +54,28 @@ def create(target, module_name):
|
||||
'zeus/mineType.cpp',
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'zeus/AbstractFunction.h',
|
||||
'zeus/AbstractFunctionTypeDirect.h',
|
||||
'zeus/AbstractFunctionTypeClass.h',
|
||||
'zeus/FutureData.h',
|
||||
'zeus/FutureBase.h',
|
||||
'zeus/Future.h',
|
||||
'zeus/File.h',
|
||||
'zeus/Buffer.h',
|
||||
'zeus/BufferParameter.h',
|
||||
'zeus/BufferCall.h',
|
||||
'zeus/BufferAnswer.h',
|
||||
'zeus/BufferData.h',
|
||||
'zeus/BufferEvent.h',
|
||||
'zeus/BufferFlow.h',
|
||||
'zeus/ParamType.h',
|
||||
'zeus/debug.h',
|
||||
'zeus/Client.h',
|
||||
'zeus/RemoteProcessCall.h',
|
||||
'zeus/Service.h',
|
||||
'zeus/ServiceRemote.h',
|
||||
'zeus/WebServer.h',
|
||||
'zeus/mineType.h',
|
||||
'zeus/AbstractFunction.hpp',
|
||||
'zeus/AbstractFunctionTypeDirect.hpp',
|
||||
'zeus/AbstractFunctionTypeClass.hpp',
|
||||
'zeus/FutureData.hpp',
|
||||
'zeus/FutureBase.hpp',
|
||||
'zeus/Future.hpp',
|
||||
'zeus/File.hpp',
|
||||
'zeus/Buffer.hpp',
|
||||
'zeus/BufferParameter.hpp',
|
||||
'zeus/BufferCall.hpp',
|
||||
'zeus/BufferAnswer.hpp',
|
||||
'zeus/BufferData.hpp',
|
||||
'zeus/BufferEvent.hpp',
|
||||
'zeus/BufferFlow.hpp',
|
||||
'zeus/ParamType.hpp',
|
||||
'zeus/debug.hpp',
|
||||
'zeus/Client.hpp',
|
||||
'zeus/RemoteProcessCall.hpp',
|
||||
'zeus/Service.hpp',
|
||||
'zeus/ServiceRemote.hpp',
|
||||
'zeus/WebServer.hpp',
|
||||
'zeus/mineType.hpp',
|
||||
])
|
||||
if target.config["compilator"] == "clang":
|
||||
my_module.add_flag('c++', "-Wno-unsequenced", export=True)
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/debug.hpp>
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("zeus-test-client");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
@ -4,15 +4,15 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <zeus/Client.h>
|
||||
#include <zeus/ServiceRemote.h>
|
||||
#include <zeus/mineType.h>
|
||||
#include <etk/etk.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <zeus/Client.hpp>
|
||||
#include <zeus/ServiceRemote.hpp>
|
||||
#include <zeus/mineType.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <etk/stdTools.h>
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
int main(int _argc, const char *_argv[]) {
|
||||
etk::init(_argc, _argv);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/debug.hpp>
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("zeus-test-service1");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
@ -4,12 +4,12 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <zeus/Service.h>
|
||||
#include <etk/etk.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <zeus/Service.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <etk/stdTools.h>
|
||||
#include <etk/stdTools.hpp>
|
||||
namespace appl {
|
||||
class User {
|
||||
public:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/debug.hpp>
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("zeus-picture");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
@ -4,14 +4,14 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <zeus/Service.h>
|
||||
#include <zeus/File.h>
|
||||
#include <etk/etk.h>
|
||||
#include <unistd.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <zeus/Service.hpp>
|
||||
#include <zeus/File.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include <unistd.hpp>
|
||||
#include <mutex>
|
||||
#include <ejson/ejson.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <sstream>
|
||||
|
||||
#include <etk/stdTools.h>
|
||||
|
@ -4,13 +4,13 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/ClientInterface.h>
|
||||
#include <zeus/Future.h>
|
||||
#include <appl/GateWay.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <appl/ClientInterface.hpp>
|
||||
#include <zeus/Future.hpp>
|
||||
#include <appl/GateWay.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
|
||||
|
||||
static const std::string protocolError = "PROTOCOL-ERROR";
|
||||
|
@ -5,9 +5,9 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <appl/GateWay.h>
|
||||
#include <appl/ServiceInterface.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <appl/GateWay.hpp>
|
||||
#include <appl/ServiceInterface.hpp>
|
||||
|
||||
namespace appl {
|
||||
class GateWay;
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/GateWay.h>
|
||||
#include <appl/debug.h>
|
||||
#include <enet/TcpServer.h>
|
||||
#include <appl/GateWay.hpp>
|
||||
#include <appl/debug.hpp>
|
||||
#include <enet/TcpServer.hpp>
|
||||
|
||||
|
||||
namespace appl {
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <appl/ServiceInterface.h>
|
||||
#include <appl/ClientInterface.h>
|
||||
#include <eproperty/Value.h>
|
||||
#include <appl/ServiceInterface.hpp>
|
||||
#include <appl/ClientInterface.hpp>
|
||||
#include <eproperty/Value.hpp>
|
||||
|
||||
namespace appl {
|
||||
class TcpServerInput;
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/ServiceInterface.h>
|
||||
#include <appl/ClientInterface.h>
|
||||
#include <appl/GateWay.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <appl/ServiceInterface.hpp>
|
||||
#include <appl/ClientInterface.hpp>
|
||||
#include <appl/GateWay.hpp>
|
||||
|
||||
// todo : cHANGE THIS ...
|
||||
static const std::string protocolError = "PROTOCOL-ERROR";
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <ememory/memory.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
|
||||
namespace appl {
|
||||
class GateWay;
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/debug.hpp>
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("zeus-gateway");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
@ -4,12 +4,12 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/GateWay.h>
|
||||
#include <etk/etk.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <appl/GateWay.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <etk/stdTools.h>
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
int main(int _argc, const char *_argv[]) {
|
||||
etk::init(_argc, _argv);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/debug.hpp>
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("zeus-system-service");
|
||||
|
@ -1,40 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
||||
};
|
||||
|
||||
#define APPL_BASE(info,data) ELOG_BASE(appl::getLogId(),info,data)
|
||||
|
||||
#define APPL_PRINT(data) APPL_BASE(-1, data)
|
||||
#define APPL_CRITICAL(data) APPL_BASE(1, data)
|
||||
#define APPL_ERROR(data) APPL_BASE(2, data)
|
||||
#define APPL_WARNING(data) APPL_BASE(3, data)
|
||||
#ifdef DEBUG
|
||||
#define APPL_INFO(data) APPL_BASE(4, data)
|
||||
#define APPL_DEBUG(data) APPL_BASE(5, data)
|
||||
#define APPL_VERBOSE(data) APPL_BASE(6, data)
|
||||
#define APPL_TODO(data) APPL_BASE(4, "TODO : " << data)
|
||||
#else
|
||||
#define APPL_INFO(data) do { } while(false)
|
||||
#define APPL_DEBUG(data) do { } while(false)
|
||||
#define APPL_VERBOSE(data) do { } while(false)
|
||||
#define APPL_TODO(data) do { } while(false)
|
||||
#endif
|
||||
|
||||
#define APPL_ASSERT(cond,data) \
|
||||
do { \
|
||||
if (!(cond)) { \
|
||||
APPL_CRITICAL(data); \
|
||||
assert(!#cond); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
40
tools/system-user/appl/debug.hpp
Normal file
40
tools/system-user/appl/debug.hpp
Normal file
@ -0,0 +1,40 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
||||
};
|
||||
|
||||
#define APPL_BASE(info,data) ELOG_BASE(appl::getLogId(),info,data)
|
||||
|
||||
#define APPL_PRINT(data) APPL_BASE(-1, data)
|
||||
#define APPL_CRITICAL(data) APPL_BASE(1, data)
|
||||
#define APPL_ERROR(data) APPL_BASE(2, data)
|
||||
#define APPL_WARNING(data) APPL_BASE(3, data)
|
||||
#ifdef DEBUG
|
||||
#define APPL_INFO(data) APPL_BASE(4, data)
|
||||
#define APPL_DEBUG(data) APPL_BASE(5, data)
|
||||
#define APPL_VERBOSE(data) APPL_BASE(6, data)
|
||||
#define APPL_TODO(data) APPL_BASE(4, "TODO : " << data)
|
||||
#else
|
||||
#define APPL_INFO(data) do { } while(false)
|
||||
#define APPL_DEBUG(data) do { } while(false)
|
||||
#define APPL_VERBOSE(data) do { } while(false)
|
||||
#define APPL_TODO(data) do { } while(false)
|
||||
#endif
|
||||
|
||||
#define APPL_ASSERT(cond,data) \
|
||||
do { \
|
||||
if (!(cond)) { \
|
||||
APPL_CRITICAL(data); \
|
||||
assert(!#cond); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
@ -4,14 +4,14 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <zeus/Service.h>
|
||||
#include <etk/etk.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <zeus/Service.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include <unistd.h>
|
||||
#include <mutex>
|
||||
#include <ejson/ejson.h>
|
||||
#include <ejson/ejson.hpp>
|
||||
|
||||
#include <etk/stdTools.h>
|
||||
#include <etk/stdTools.hpp>
|
||||
namespace appl {
|
||||
class User {
|
||||
private:
|
||||
|
@ -3,9 +3,9 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
static int32_t firstCall(bool& _value) {
|
||||
_value = false;
|
||||
|
@ -4,12 +4,12 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <zeus/File.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/BufferCall.h>
|
||||
#include <ememory/memory.h>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <zeus/File.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/BufferCall.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
|
||||
|
||||
namespace zeus {
|
||||
@ -134,5 +134,5 @@ namespace zeus {
|
||||
};
|
||||
}
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <zeus/mineType.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <zeus/mineType.hpp>
|
||||
|
||||
|
||||
namespace zeus {
|
@ -5,9 +5,9 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
namespace zeus {
|
||||
/**
|
||||
* @brief Execute a call on the global function with a return value
|
@ -3,18 +3,18 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <climits>
|
||||
#include <zeus/BufferAnswer.h>
|
||||
#include <zeus/BufferCall.h>
|
||||
#include <zeus/BufferData.h>
|
||||
#include <zeus/BufferFlow.h>
|
||||
#include <zeus/BufferEvent.h>
|
||||
#include <zeus/BufferAnswer.hpp>
|
||||
#include <zeus/BufferCall.hpp>
|
||||
#include <zeus/BufferData.hpp>
|
||||
#include <zeus/BufferFlow.hpp>
|
||||
#include <zeus/BufferEvent.hpp>
|
||||
|
||||
namespace etk {
|
||||
template<> std::string to_string<enum zeus::Buffer::typeMessage>(const enum zeus::Buffer::typeMessage& _value) {
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
|
||||
namespace zeus {
|
||||
class WebServer;
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/BufferAnswer.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/BufferAnswer.hpp>
|
||||
|
||||
void zeus::BufferAnswer::generateDisplay(std::ostream& _os) const {
|
||||
zeus::Buffer::generateDisplay(_os);
|
||||
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <zeus/BufferParameter.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <zeus/BufferParameter.hpp>
|
||||
|
||||
namespace zeus {
|
||||
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/BufferCall.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/BufferCall.hpp>
|
||||
|
||||
void zeus::BufferCall::generateDisplay(std::ostream& _os) const {
|
||||
zeus::Buffer::generateDisplay(_os);
|
||||
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <zeus/BufferParameter.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <zeus/BufferParameter.hpp>
|
||||
|
||||
namespace zeus {
|
||||
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/BufferData.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/BufferData.hpp>
|
||||
|
||||
void zeus::BufferData::generateDisplay(std::ostream& _os) const {
|
||||
zeus::Buffer::generateDisplay(_os);
|
||||
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
|
||||
namespace zeus {
|
||||
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/BufferEvent.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/BufferEvent.hpp>
|
||||
|
||||
/*
|
||||
// ------------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
|
||||
namespace zeus {
|
||||
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/BufferFlow.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/BufferFlow.hpp>
|
||||
|
||||
/*
|
||||
// ------------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
|
||||
namespace zeus {
|
||||
|
@ -3,14 +3,14 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/BufferData.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/BufferParameter.h>
|
||||
#include <zeus/File.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/BufferData.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/BufferParameter.hpp>
|
||||
#include <zeus/File.hpp>
|
||||
|
||||
bool zeus::BufferParameter::writeOn(enet::WebSocket& _interface) {
|
||||
uint8_t* data = nullptr;
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
|
||||
namespace zeus {
|
||||
|
@ -3,17 +3,17 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/BufferData.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/BufferData.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <climits>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <zeus/mineType.h>
|
||||
#include <zeus/WebServer.h>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <zeus/mineType.hpp>
|
||||
#include <zeus/WebServer.hpp>
|
||||
|
||||
|
||||
void zeus::addType(std::vector<uint8_t>& _data, zeus::ParamType _type) {
|
||||
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/ParamType.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <climits>
|
||||
namespace zeus {
|
||||
template<>
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/TcpClient.h>
|
||||
#include <zeus/Client.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <enet/TcpClient.hpp>
|
||||
#include <zeus/Client.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -5,13 +5,13 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <eproperty/Value.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <eproperty/Value.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <chrono>
|
||||
#include <unistd.h>
|
||||
#include <zeus/Future.h>
|
||||
#include <zeus/ServiceRemote.h>
|
||||
#include <unistd.hpp>
|
||||
#include <zeus/Future.hpp>
|
||||
#include <zeus/ServiceRemote.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <zeus/File.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <etk/types.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <zeus/mineType.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <zeus/File.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <etk/types.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <zeus/mineType.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
@ -3,11 +3,11 @@
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <zeus/Future.h>
|
||||
#include <zeus/BufferAnswer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/Future.hpp>
|
||||
#include <zeus/BufferAnswer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <unistd.h>
|
||||
#include <zeus/File.h>
|
||||
#include <zeus/File.hpp>
|
||||
|
||||
namespace zeus {
|
||||
template<>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/FutureBase.h>
|
||||
#include <zeus/FutureBase.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
@ -3,9 +3,9 @@
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <zeus/FutureBase.h>
|
||||
#include <zeus/BufferAnswer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/FutureBase.hpp>
|
||||
#include <zeus/BufferAnswer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
zeus::FutureBase::FutureBase(const zeus::FutureBase& _base):
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/FutureData.h>
|
||||
#include <zeus/FutureData.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <zeus/Buffer.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <functional>
|
||||
#include <ememory/memory.h>
|
||||
#include <ememory/memory.hpp>
|
||||
|
||||
|
||||
namespace zeus {
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <zeus/ParamType.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/File.h>
|
||||
#include <zeus/ParamType.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/File.hpp>
|
||||
|
||||
|
||||
bool zeus::checkCompatibility(const ParamType& _type, const ParamType& _params) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <zeus/RemoteProcessCall.h>
|
||||
#include <zeus/RemoteProcessCall.hpp>
|
||||
|
||||
zeus::RemoteProcessCall::RemoteProcessCall() :
|
||||
m_type("UNKNOW"){
|
||||
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/AbstractFunctionTypeDirect.h>
|
||||
#include <zeus/AbstractFunctionTypeClass.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <zeus/AbstractFunctionTypeDirect.hpp>
|
||||
#include <zeus/AbstractFunctionTypeClass.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <zeus/Service.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <enet/TcpClient.h>
|
||||
#include <zeus/Service.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <enet/TcpClient.hpp>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -5,13 +5,13 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <eproperty/Value.h>
|
||||
#include <zeus/AbstractFunctionTypeDirect.h>
|
||||
#include <zeus/AbstractFunctionTypeClass.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/RemoteProcessCall.h>
|
||||
#include <zeus/Future.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <eproperty/Value.hpp>
|
||||
#include <zeus/AbstractFunctionTypeDirect.hpp>
|
||||
#include <zeus/AbstractFunctionTypeClass.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/RemoteProcessCall.hpp>
|
||||
#include <zeus/Future.hpp>
|
||||
|
||||
/**
|
||||
* @brief Main zeus library namespace
|
@ -4,8 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <zeus/ServiceRemote.h>
|
||||
#include <zeus/Client.h>
|
||||
#include <zeus/ServiceRemote.hpp>
|
||||
#include <zeus/Client.hpp>
|
||||
|
||||
zeus::ServiceRemote::ServiceRemote(ememory::SharedPtr<zeus::WebServer> _clientLink, const std::string& _name):
|
||||
m_interfaceClient(_clientLink),
|
||||
|
@ -5,12 +5,12 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <zeus/ServiceRemote.h>
|
||||
#include <zeus/Future.h>
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <zeus/ServiceRemote.hpp>
|
||||
#include <zeus/Future.hpp>
|
||||
#include <zeus/WebServer.hpp>
|
||||
|
||||
namespace zeus {
|
||||
class Client;
|
@ -3,11 +3,11 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <zeus/WebServer.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <ethread/tools.h>
|
||||
#include <unistd.h>
|
||||
#include <zeus/BufferData.h>
|
||||
#include <zeus/WebServer.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
#include <ethread/tools.hpp>
|
||||
#include <unistd.hpp>
|
||||
#include <zeus/BufferData.hpp>
|
||||
|
||||
|
||||
ememory::SharedPtr<zeus::BufferCall> zeus::createBaseCall(uint64_t _transactionId, const std::string& _functionName, const uint32_t& _serviceId) {
|
||||
|
@ -4,13 +4,13 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <zeus/Buffer.h>
|
||||
#include <zeus/BufferAnswer.h>
|
||||
#include <enet/WebSocket.h>
|
||||
#include <zeus/Buffer.hpp>
|
||||
#include <zeus/BufferAnswer.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <thread>
|
||||
#include <ememory/memory.h>
|
||||
#include <zeus/AbstractFunction.h>
|
||||
#include <zeus/FutureBase.h>
|
||||
#include <ememory/memory.hpp>
|
||||
#include <zeus/AbstractFunction.hpp>
|
||||
#include <zeus/FutureBase.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/debug.hpp>
|
||||
|
||||
int32_t zeus::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("zeus");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace zeus {
|
||||
int32_t getLogId();
|
@ -4,8 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <zeus/mineType.h>
|
||||
#include <zeus/debug.h>
|
||||
#include <zeus/mineType.hpp>
|
||||
#include <zeus/debug.hpp>
|
||||
|
||||
|
||||
static std::vector<std::pair<std::string, std::string>> mineList = {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace zeus {
|
||||
/**
|
Loading…
Reference in New Issue
Block a user