Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
602bb39ff2 | |||
5d8044756a | |||
69efe4f5b6 | |||
888a70d767 | |||
e103df58cd | |||
b64a3bfcb0 | |||
a2788997fd | |||
6ab7be7799 | |||
afca4fd646 | |||
31e74185c8 |
30
.travis.yml
30
.travis.yml
@@ -1,6 +1,7 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
sudo: false
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
@@ -14,24 +15,24 @@ addons:
|
|||||||
packages:
|
packages:
|
||||||
- g++-4.9
|
- g++-4.9
|
||||||
- expect
|
- expect
|
||||||
#- binutils-mingw-w64-x86-64 # 64bit MinGW
|
- binutils-mingw-w64-x86-64 # 64bit MinGW
|
||||||
#- gcc-mingw-w64-x86-64
|
- gcc-mingw-w64-x86-64
|
||||||
#- g++-mingw-w64-x86-64
|
- g++-mingw-w64-x86-64
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CONF=debug BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov
|
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CONF=debug BUILDER=clang TARGET=Linux
|
env: CONF=debug BUILDER=clang TARGET=Linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
#- os: linux
|
- os: linux
|
||||||
# env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw
|
env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw
|
||||||
# compiler: x86_64-w64-mingw32-gcc
|
compiler: x86_64-w64-mingw32-gcc
|
||||||
#- os: linux
|
- os: linux
|
||||||
# env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p
|
env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p
|
||||||
# compiler: gcc
|
compiler: gcc
|
||||||
- os: osx
|
- os: osx
|
||||||
env: CONF=release BUILDER=clang TARGET=MacOs TAG=MacOs
|
env: CONF=release BUILDER=clang TARGET=MacOs TAG=MacOs
|
||||||
compiler: clang
|
compiler: clang
|
||||||
@@ -39,7 +40,6 @@ matrix:
|
|||||||
env: CONF=release BUILDER=clang TARGET=IOs TAG=IOs
|
env: CONF=release BUILDER=clang TARGET=IOs TAG=IOs
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cd ..
|
- cd ..
|
||||||
- pip install --user lutin
|
- pip install --user lutin
|
||||||
@@ -52,7 +52,9 @@ install:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone https://github.com/atria-soft/etk.git -b $TRAVIS_BRANCH
|
- git clone https://github.com/atria-soft/elog.git
|
||||||
|
- git clone https://github.com/atria-soft/etk.git
|
||||||
|
- git clone https://github.com/atria-soft/ememory.git
|
||||||
- git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
- git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||||
- git clone https://github.com/generic-library/z-lutin.git --recursive
|
- git clone https://github.com/generic-library/z-lutin.git --recursive
|
||||||
- pwd
|
- pwd
|
||||||
@@ -70,7 +72,7 @@ after_script:
|
|||||||
- if [ "$GCOV" != "" ]; then
|
- if [ "$GCOV" != "" ]; then
|
||||||
./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/esignal/;
|
./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/esignal/;
|
||||||
fi
|
fi
|
||||||
- lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE esignal-test?run:--elog-level=3 | tee out_test.txt
|
- ./out/Linux_x86_64/$CONF/staging/$BUILDER/esignal-test/esignal-test.app/bin/esignal-test --elog-level=3 | tee out_test.txt
|
||||||
- if [ "$GCOV" != "" ]; then
|
- if [ "$GCOV" != "" ]; then
|
||||||
./ci/test_send.py --file=out_test.txt;
|
./ci/test_send.py --file=out_test.txt;
|
||||||
lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p esignal?gcov;
|
lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p esignal?gcov;
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
e-signal
|
e-signal
|
||||||
========
|
========
|
||||||
|
|
||||||
`esignal` is c++ svg image parser and renderer.
|
`esignal` is c++ simple direct signal manager.
|
||||||
|
|
||||||
Release (master)
|
Release (master)
|
||||||
----------------
|
----------------
|
||||||
@@ -49,6 +49,8 @@ download the software:
|
|||||||
mkdir WORKING_DIRECTORY
|
mkdir WORKING_DIRECTORY
|
||||||
cd WORKING_DIRECTORY
|
cd WORKING_DIRECTORY
|
||||||
git clone https://github.com/atria-soft/etk.git
|
git clone https://github.com/atria-soft/etk.git
|
||||||
|
git clone https://github.com/atria-soft/elog.git
|
||||||
|
git clone https://github.com/atria-soft/ememory.git
|
||||||
git clone https://github.com/atria-soft/esignal.git
|
git clone https://github.com/atria-soft/esignal.git
|
||||||
git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||||
git clone https://github.com/generic-library/z-lutin.git --recursive
|
git clone https://github.com/generic-library/z-lutin.git --recursive
|
||||||
@@ -57,7 +59,7 @@ Compile software:
|
|||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
cd WORKING_DIRECTORY
|
cd WORKING_DIRECTORY
|
||||||
lutin -C -P esignal-test
|
lutin -C -P esignal-test esignal-sample
|
||||||
|
|
||||||
|
|
||||||
License (APACHE v2.0)
|
License (APACHE v2.0)
|
||||||
|
1
authors.txt
Normal file
1
authors.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
MR Edouard DUPIN <yui.heero@gmail.com>
|
@@ -82,10 +82,10 @@ Now you can nonnect the functions:
|
|||||||
This Will generate this simple sample code:
|
This Will generate this simple sample code:
|
||||||
@snippet sampleAll.cpp esignal_sample_class_connection
|
@snippet sampleAll.cpp esignal_sample_class_connection
|
||||||
|
|
||||||
Connection on std::shared_ptr<class> member function {#esignal_connection_shared}
|
Connection on ememory::SharedPtr<class> member function {#esignal_connection_shared}
|
||||||
----------------------------------------------------
|
----------------------------------------------------
|
||||||
|
|
||||||
std::hared_ptr have intrinsec knoledge of alive pointer, then, if you do not need to remove connection while the shared_ptr is alive, just connect it like:
|
ememory::SharedPtr have intrinsec knowledge of alive pointer, then, if you do not need to remove connection while the ememory::SharedPtr is alive, just connect it like:
|
||||||
@snippet sampleAll.cpp esignal_sample_shared_connection
|
@snippet sampleAll.cpp esignal_sample_shared_connection
|
||||||
|
|
||||||
Create new Signal {#esignal_create}
|
Create new Signal {#esignal_create}
|
||||||
|
@@ -6,7 +6,7 @@ import doxy.tools as tools
|
|||||||
|
|
||||||
def create(target, module_name):
|
def create(target, module_name):
|
||||||
my_module = module.Module(__file__, module_name)
|
my_module = module.Module(__file__, module_name)
|
||||||
my_module.set_version([0,1,"dev"])
|
my_module.set_version("version.txt")
|
||||||
my_module.set_title("esignal: Ewol signal interface")
|
my_module.set_title("esignal: Ewol signal interface")
|
||||||
my_module.set_website("http://atria-soft.github.io/" + module_name)
|
my_module.set_website("http://atria-soft.github.io/" + module_name)
|
||||||
my_module.set_website_sources("http://github.com/atria-soft/" + module_name)
|
my_module.set_website_sources("http://github.com/atria-soft/" + module_name)
|
||||||
@@ -17,7 +17,7 @@ def create(target, module_name):
|
|||||||
my_module.add_sample_path([
|
my_module.add_sample_path([
|
||||||
"sample",
|
"sample",
|
||||||
])
|
])
|
||||||
my_module.add_module_depend([
|
my_module.add_depend([
|
||||||
'etk',
|
'etk',
|
||||||
'ememory',
|
'ememory',
|
||||||
])
|
])
|
||||||
@@ -25,7 +25,7 @@ def create(target, module_name):
|
|||||||
'*operator<<*',
|
'*operator<<*',
|
||||||
])
|
])
|
||||||
my_module.add_exclude_file([
|
my_module.add_exclude_file([
|
||||||
'debug.h',
|
'debug.hpp',
|
||||||
])
|
])
|
||||||
my_module.add_file_patterns([
|
my_module.add_file_patterns([
|
||||||
'*.h',
|
'*.h',
|
||||||
|
@@ -6,10 +6,10 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <esignal/Base.h>
|
#include <esignal/Base.hpp>
|
||||||
|
|
||||||
size_t esignal::BaseInternal::s_uid = 1;
|
size_t esignal::BaseInternal::s_uid = 1;
|
||||||
int64_t esignal::BaseInternal::s_uidSignalEmit = 1;
|
int64_t esignal::BaseInternal::s_uidSignalEmit = 1;
|
||||||
|
@@ -8,9 +8,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
#include <esignal/Base.h>
|
#include <esignal/Base.hpp>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
@@ -5,8 +5,8 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
#include <esignal/Connection.h>
|
#include <esignal/Connection.hpp>
|
||||||
|
|
||||||
esignal::Connection::Connection():
|
esignal::Connection::Connection():
|
||||||
m_data(nullptr),
|
m_data(nullptr),
|
||||||
|
@@ -8,9 +8,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
#include <esignal/Base.h>
|
#include <esignal/Base.hpp>
|
||||||
|
|
||||||
namespace esignal {
|
namespace esignal {
|
||||||
/**
|
/**
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <esignal/InterfaceData.h>
|
#include <esignal/InterfaceData.hpp>
|
||||||
|
|
||||||
namespace esignal {
|
namespace esignal {
|
||||||
/**
|
/**
|
@@ -6,10 +6,10 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
#include <esignal/InterfaceData.h>
|
#include <esignal/InterfaceData.hpp>
|
||||||
#include <esignal/Base.h>
|
#include <esignal/Base.hpp>
|
||||||
|
|
||||||
esignal::InterfaceData::InterfaceData() {
|
esignal::InterfaceData::InterfaceData() {
|
||||||
|
|
||||||
|
@@ -9,12 +9,12 @@
|
|||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
#include <esignal/Base.h>
|
#include <esignal/Base.hpp>
|
||||||
#include <esignal/Connection.h>
|
#include <esignal/Connection.hpp>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
|
|
||||||
namespace esignal {
|
namespace esignal {
|
||||||
|
|
@@ -6,7 +6,7 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <esignal/debug.h>
|
#include <esignal/debug.hpp>
|
||||||
|
|
||||||
int32_t esignal::getLogId() {
|
int32_t esignal::getLogId() {
|
||||||
static int32_t g_val = elog::registerInstance("esignal");
|
static int32_t g_val = elog::registerInstance("esignal");
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <elog/log.h>
|
#include <elog/log.hpp>
|
||||||
|
|
||||||
namespace esignal {
|
namespace esignal {
|
||||||
int32_t getLogId();
|
int32_t getLogId();
|
@@ -6,10 +6,10 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <esignal/details/Signal.hxx>
|
#include <esignal/details/Signal.hxx>
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <etk/math/Vector2D.h>
|
#include <etk/math/Vector2D.hpp>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.hpp>
|
||||||
#include <etk/Color.h>
|
#include <etk/Color.hpp>
|
||||||
|
|
||||||
// void generic signal
|
// void generic signal
|
||||||
ESIGNAL_DECLARE_SIGNAL();
|
ESIGNAL_DECLARE_SIGNAL();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
|
|
||||||
template<class... T_ARGS>
|
template<class... T_ARGS>
|
||||||
esignal::Signal<T_ARGS...>::~Signal() {
|
esignal::Signal<T_ARGS...>::~Signal() {
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
return "BINARY"
|
return "BINARY"
|
||||||
@@ -22,13 +21,15 @@ def get_compagny_name():
|
|||||||
return "atria-soft"
|
return "atria-soft"
|
||||||
|
|
||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'sample/sampleAll.cpp'
|
'sample/sampleAll.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_module_depend(['esignal', 'test-debug'])
|
my_module.add_depend([
|
||||||
return my_module
|
'esignal',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
|
return True
|
||||||
|
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@@ -23,10 +22,9 @@ def get_compagny_name():
|
|||||||
return "atria-soft"
|
return "atria-soft"
|
||||||
|
|
||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main.cpp',
|
'test/main.cpp',
|
||||||
'test/declareSignals.cpp',
|
'test/declareSignals.cpp',
|
||||||
@@ -37,6 +35,10 @@ def create(target, module_name):
|
|||||||
'test/test_signal_static_func.cpp',
|
'test/test_signal_static_func.cpp',
|
||||||
'test/test_isignal.cpp'
|
'test/test_isignal.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_module_depend(['esignal', 'gtest', 'test-debug'])
|
my_module.add_depend([
|
||||||
return my_module
|
'esignal',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
|
return True
|
||||||
|
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
import lutin.debug as debug
|
import lutin.debug as debug
|
||||||
import os
|
|
||||||
import lutin.multiprocess as lutinMultiprocess
|
|
||||||
|
|
||||||
|
|
||||||
def get_type():
|
def get_type():
|
||||||
@@ -22,14 +19,13 @@ def get_compagny_name():
|
|||||||
return "atria-soft"
|
return "atria-soft"
|
||||||
|
|
||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return "authors.txt"
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
return [0,3,0]
|
return "version.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_extra_flags()
|
||||||
my_module.add_extra_compile_flags()
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'esignal/debug.cpp',
|
'esignal/debug.cpp',
|
||||||
'esignal/Connection.cpp',
|
'esignal/Connection.cpp',
|
||||||
@@ -38,23 +34,23 @@ def create(target, module_name):
|
|||||||
'esignal/details/Signal.cpp',
|
'esignal/details/Signal.cpp',
|
||||||
])
|
])
|
||||||
my_module.add_header_file([
|
my_module.add_header_file([
|
||||||
'esignal/debug.h',
|
'esignal/debug.hpp',
|
||||||
'esignal/Interface.h',
|
'esignal/Interface.hpp',
|
||||||
'esignal/InterfaceData.h',
|
'esignal/InterfaceData.hpp',
|
||||||
'esignal/Base.h',
|
'esignal/Base.hpp',
|
||||||
'esignal/Signal.h',
|
'esignal/Signal.hpp',
|
||||||
'esignal/Connection.h',
|
'esignal/Connection.hpp',
|
||||||
'esignal/details/Signal.hxx',
|
'esignal/details/Signal.hxx',
|
||||||
])
|
])
|
||||||
my_module.compile_version("c++", 2011)
|
my_module.compile_version("c++", 2011)
|
||||||
my_module.add_module_depend([
|
my_module.add_depend([
|
||||||
'etk',
|
'etk',
|
||||||
'ememory'
|
'ememory'
|
||||||
])
|
])
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
my_module.compile_flags('c++', [
|
my_module.add_flag('c++', [
|
||||||
"-DESIGNAL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
"-DESIGNAL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
||||||
])
|
])
|
||||||
my_module.add_tools(['esignal-test'])
|
my_module.add_tools(['esignal-test'])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
@@ -5,11 +5,11 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <etk/etk.h>
|
#include <etk/etk.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
//! [esignal_sample_declare]
|
//! [esignal_sample_declare]
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
//! [esignal_sample_declare]
|
//! [esignal_sample_declare]
|
||||||
|
|
||||||
void declareSignals() {
|
void declareSignals() {
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <esignal/details/Signal.hxx>
|
#include <esignal/details/Signal.hxx>
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
|
|
||||||
|
|
||||||
ESIGNAL_DECLARE_SIGNAL(int32_t, std::string);
|
ESIGNAL_DECLARE_SIGNAL(int32_t, std::string);
|
||||||
|
@@ -7,9 +7,9 @@
|
|||||||
*/
|
*/
|
||||||
#define NAME "Empty"
|
#define NAME "Empty"
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <etk/etk.h>
|
#include <etk/etk.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
#define NAME "SingleArg"
|
#define NAME "SingleArg"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
|
|
||||||
class testISignal : public esignal::Interface {
|
class testISignal : public esignal::Interface {
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
#define NAME "SingleArg"
|
#define NAME "SingleArg"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
class testCallback {
|
class testCallback {
|
||||||
public:
|
public:
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
#define NAME "SingleArg"
|
#define NAME "SingleArg"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
class testCounter {
|
class testCounter {
|
||||||
public:
|
public:
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
#define NAME "SingleArg"
|
#define NAME "SingleArg"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
static esignal::Signal<int32_t>* signalll;
|
static esignal::Signal<int32_t>* signalll;
|
||||||
static int32_t tmpRetInt32 = 0;
|
static int32_t tmpRetInt32 = 0;
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
#define NAME "SingleArg"
|
#define NAME "SingleArg"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
class testCallbackShared : public ememory::EnableSharedFromThis<testCallbackShared> {
|
class testCallbackShared : public ememory::EnableSharedFromThis<testCallbackShared> {
|
||||||
public:
|
public:
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
#define NAME "SingleArg"
|
#define NAME "SingleArg"
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <esignal/Signal.h>
|
#include <esignal/Signal.hpp>
|
||||||
#include <esignal/Interface.h>
|
#include <esignal/Interface.hpp>
|
||||||
#include <ememory/memory.h>
|
#include <ememory/memory.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
|
|
||||||
static int32_t tmpRetInt32 = 0;
|
static int32_t tmpRetInt32 = 0;
|
||||||
static std::string tmpRetString = "";
|
static std::string tmpRetString = "";
|
||||||
|
1
version.txt
Normal file
1
version.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
0.5.0
|
Reference in New Issue
Block a user