Type aliases
using SimpleSeqFitSegment = boost::interprocess::basic_managed_shared_memory<char, boost::interprocess::simple_seq_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void>>, boost::interprocess::null_index>
No comment in the header yet.
using RBTreeBestFitSegment = boost::interprocess::basic_managed_shared_memory<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void>>, boost::interprocess::null_index>
No comment in the header yet.
using RefCountPool = boost::interprocess::node_allocator<RefCount, boost::interprocess::managed_shared_memory::segment_manager, numNodesPerBlock>
No comment in the header yet.
using SegmentManager = boost::interprocess::managed_shared_memory::segment_manager
No comment in the header yet.
using VoidAlloc = boost::interprocess::allocator<void, SegmentManager>
No comment in the header yet.
using CharAlloc = boost::interprocess::allocator<char, SegmentManager>
No comment in the header yet.
using Str = boost::interprocess::basic_string<char, std::char_traits<char>, CharAlloc>
No comment in the header yet.
using StrAlloc = boost::interprocess::allocator<Str, SegmentManager>
No comment in the header yet.
using StrVector = boost::interprocess::vector<Str, StrAlloc>
No comment in the header yet.
using Uint16RegionInfoPairAlloc = boost::interprocess::allocator<std::pair<const uint16_t, RegionInfo>, SegmentManager>
No comment in the header yet.
using Uint16RegionInfoMap = boost::interprocess::map<uint16_t, RegionInfo, std::less<uint16_t>, Uint16RegionInfoPairAlloc>
No comment in the header yet.
using Uint16RegionInfoHashMap = boost::unordered_map<uint16_t, RegionInfo, boost::hash<uint16_t>, std::equal_to<uint16_t>, Uint16RegionInfoPairAlloc>
No comment in the header yet.
using Uint16SegmentInfoPairAlloc = boost::interprocess::allocator<std::pair<const uint16_t, SegmentInfo>, SegmentManager>
No comment in the header yet.
using Uint16SegmentInfoHashMap = boost::unordered_map<uint16_t, SegmentInfo, boost::hash<uint16_t>, std::equal_to<uint16_t>, Uint16SegmentInfoPairAlloc>
No comment in the header yet.
Functions
std::string makeShmIdStr(
const std::string& sessionId,
const std::string& userId
)
No comment in the header yet.
std::string makeShmIdStr(const std::string& sessionId)
No comment in the header yet.
uint64_t makeShmIdUint64(const std::string& sessionId)
No comment in the header yet.
std::string makeShmIdStr(uint64_t val)
No comment in the header yet.
std::string MakeShmName(const std::string& shmId, const std::string& type)
No comment in the header yet.
std::string MakeShmName(
const std::string& shmId,
const std::string& type,
int index
)
No comment in the header yet.
char* GetDataAddressFromHandle(
fair::mq::TransportFactory& factory,
const MetaHeader& meta
)
No comment in the header yet.