[DEV] rework tools archirtecture simplify access to have separates libs ...

This commit is contained in:
Edouard DUPIN 2015-08-31 15:52:15 +02:00
parent e8335f6514
commit 754c1e2820
30 changed files with 32 additions and 0 deletions

View File

@ -104,6 +104,12 @@ namespace etk {
m_data.push_back(_data); m_data.push_back(_data);
m_condition.notify_all(); m_condition.notify_all();
}; };
//! @previous
void post(const MY_TYPE &_data) {
std::unique_lock<std::mutex> lock(m_mutex);
m_data.push_back(_data);
m_condition.notify_all();
};
/** /**
* @brief Remove all the message in the fifo. * @brief Remove all the message in the fifo.
*/ */

0
file/lutin_etk-file.py Normal file
View File

0
log/lutin_etk-log.py Normal file
View File

26
math/lutin_etk-math.py Normal file
View File

@ -0,0 +1,26 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
def get_desc():
return "e-tk : Ewol tool kit"
def create(target):
# module name is 'edn' and type binary.
myModule = module.Module(__file__, 'etk-math', 'LIBRARY')
# add extra compilation flags :
myModule.add_extra_compile_flags()
# add the file to compile:
myModule.add_src_file([
'etk-math/Matrix4.cpp',
'etk-math/Vector2D.cpp',
'etk-math/Vector3D.cpp',
'etk-math/Vector4D.cpp'
])
myModule.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule

0
time/lutin_etk-time.py Normal file
View File