MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / remove

Method remove

simcore/framework/examples/camera/memory_io.cpp:100–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool SharedMemoryWriter::remove() {
101 // if (shared_segment_)
102 //{
103 // if(shared_segment_->ptr_)
104 // shared_segment_->segment_.destroy_ptr(shared_segment_->ptr_);
105 // //if(shared_segment_->mtx_)
106 // // shared_segment_->segment_.destroy_ptr(shared_segment_->mtx_);
107 // shared_segment_->ptr_ = 0;
108 // shared_segment_->mtx_ = 0;
109 // }
110 return true; // boost::interprocess::shared_memory_object::remove(key_.c_str());
111}
112
113SharedMemoryReader::SharedMemoryReader() { shared_segment_ = new SharedSegment; }
114

Callers 15

remove_if_existFunction · 0.45
processMethod · 0.45
parseMethod · 0.45
delete_pblogMethod · 0.45
initSystemFunction · 0.45
removeOriginFunction · 0.45
disposeAllTextSpriteFunction · 0.45
disposeRoadMaskFunction · 0.45
disposeJunctionMaskFunction · 0.45
disposeAllTextSpriteFunction · 0.45
disposeJunctionMaskFunction · 0.45

Calls

no outgoing calls

Tested by 1

remove_if_existFunction · 0.36