blob: dcb6906659d7060d34dbe75ca171d2e90e012c93 [file] [log] [blame]
Brian Silvermanf5f8d8e2015-12-06 18:39:12 -05001#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
6namespace aos {
7namespace testing {
8
9// Manages creating and cleaning up "shared memory" which works within this
10// process and any that it fork(2)s.
11class 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_