Brian Silverman | f5f8d8e | 2015-12-06 18:39:12 -0500 | [diff] [blame] | 1 | #ifndef AOS_TESTING_TEST_SHM_H_ |
| 2 | #define AOS_TESTING_TEST_SHM_H_ |
| 3 | |
| 4 | #include "aos/linux_code/ipc_lib/shared_mem.h" |
| 5 | |
| 6 | namespace aos { |
| 7 | namespace testing { |
| 8 | |
| 9 | // Manages creating and cleaning up "shared memory" which works within this |
| 10 | // process and any that it fork(2)s. |
| 11 | class TestSharedMemory { |
| 12 | public: |
| 13 | // Calls EnableTestLogging(). |
| 14 | TestSharedMemory(); |
| 15 | ~TestSharedMemory(); |
| 16 | |
| 17 | private: |
| 18 | struct aos_core global_core_data_; |
| 19 | }; |
| 20 | |
| 21 | } // namespace testing |
| 22 | } // namespace aos |
| 23 | |
| 24 | #endif // AOS_TESTING_TEST_SHM_H_ |