UniSet  2.8.0
tests_with_sm.h
1 #ifndef tests_with_sm_H_
2 #define tests_with_sm_H_
3 // --------------------------------------------------------------------------
4 #include <memory>
5 #include "SharedMemory.h"
6 #include "SMInterface.h"
7 // --------------------------------------------------------------------------
8 // Для некоторых тестов необходим SMInterface инициализированный для работы с SharedMemory
9 // поэтому сделана такая специальная функция
10 // реализацию смотри в tests_with_sm.cc
11 std::shared_ptr<uniset::SMInterface> smiInstance();
12 std::shared_ptr<uniset::SharedMemory> shmInstance();
13 // --------------------------------------------------------------------------
14 #endif // tests_with_sm_H_