blob: a1c79ee648d9900f88b76dfb3d4fc7e9151d25ec [file] [log] [blame]
#ifndef AOS_TESTING_TEST_SHM_H_
#define AOS_TESTING_TEST_SHM_H_
#include "aos/ipc_lib/shared_mem.h"
namespace aos {
namespace testing {
// Manages creating and cleaning up "shared memory" which works within this
// process and any that it fork(2)s.
class TestSharedMemory {
public:
// Calls EnableTestLogging().
TestSharedMemory();
~TestSharedMemory();
private:
struct aos_core global_core_data_;
};
} // namespace testing
} // namespace aos
#endif // AOS_TESTING_TEST_SHM_H_