UniSet  2.2.1
tests_with_sm.h
00001 #ifndef tests_with_sm_H_
00002 #define tests_with_sm_H_
00003 // --------------------------------------------------------------------------
00004 #include <memory>
00005 #include "SharedMemory.h"
00006 #include "SMInterface.h"
00007 // --------------------------------------------------------------------------
00008 // Для некоторых тестов необходим SMInterface инициализированный для работы с SharedMemory
00009 // поэтому сделана такая специальная функция
00010 // реализацию смотри в tests_with_sm.cc
00011 std::shared_ptr<SMInterface> smiInstance();
00012 std::shared_ptr<SharedMemory> shmInstance();
00013 // --------------------------------------------------------------------------
00014 #endif // tests_with_sm_H_