How to create a new persistent memory segment in MemoryX
  • Create Ice interface for new segment in MemoryX/interface/memorytypes/MemorySegments.ice which inherits from memoryx::PersistentEntitySegmentBase
    ["cpp:virtual"]
    class PersistentDataSegmentBase extends PersistentEntitySegmentBase
    {
    // add some special methods here
    };
  • Add header and implementation files to the appropriate CMake target.