43 void setError(
const char* message);
46 const char* errorMessage_ =
nullptr;
void(*)(const SlotRange &range, void *user) RangeCallback
static TropicSlotMap & instance()
Returns singleton Tropic slot-map instance.
uint16_t rmemMax() const
Returns maximum RMEM slot index.
void forEachRange(SlotType type, RangeCallback cb, void *user) const
Iterates configured slot ranges of the given type in declaration order.
bool isRmemAllowedForModuleId(uint16_t slot, uint8_t moduleId) const
Checks whether RMEM slot is allowed for given module id.
bool getRangeByModuleId(uint8_t moduleId, SlotType type, SlotRange *out) const
Retrieves slot range by module id and slot type.
uint32_t computeMapSignature() const
Computes deterministic signature over static map constants and ranges.
bool getRangeByName(const char *moduleName, SlotType type, SlotRange *out) const
Retrieves slot range by module name and slot type.
const char * errorMessage() const