Go to the documentation of this file.
28 const std::string& defaultCoreSegmentName =
"",
30 int defaultMaxHistorySize = 10,
36 virtual void init()
override;
38 template <
class FunctionT>
A base class for core segments.
Helps connecting a Memory server to the Ice interface.
SpecializedCoreSegment(MemoryToIceAdapter &iceMemory, const std::string &defaultCoreSegmentName="", aron::type::ObjectPtr coreSegmentAronType=nullptr, int defaultMaxHistorySize=10, const std::vector< PredictionEngine > &predictionEngines={})
void setAronType(aron::type::ObjectPtr aronType)
server::wm::CoreSegment * segmentPtr
std::vector< PredictionEngine > predictionEngines
wm::CoreSegment & getCoreSegment()
A base class for memory servers to manage their segments.
virtual void init() override
auto doLocked(FunctionT &&function) const
void setDefaultCoreSegmentName(const std::string &coreSegmentName)
auto doLocked(FunctionT &&function) const
MemoryToIceAdapter & iceMemory
void setDefaultMaxHistorySize(int64_t maxHistorySize)
std::shared_ptr< Object > ObjectPtr
void setPredictionEngines(const std::vector< PredictionEngine > &predictionEngines)
virtual ~SpecializedCoreSegment() override
aron::type::ObjectPtr aronType
virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override