Rename IntrinInteroceptor=>IntrinTeroceptor, NeutralInteroceptor=>NeutrinTeroceptor.

This commit is contained in:
2025-01-04 13:46:33 -04:00
parent 89c8936e64
commit 06e3db82ac
+10 -10
View File
@@ -15,22 +15,22 @@ public:
uint64_t value; uint64_t value;
}; };
class NeutralInteroceptor class NeutrinTeroceptor
: public Interoceptor { : public Interoceptor {
public: public:
NeutralInteroceptor(uint32_t _id, uint32_t _value = 0) NeutrinTeroceptor(uint32_t _id, uint32_t _value = 0)
: Interoceptor(_id, _value) : Interoceptor(_id, _value)
{} {}
}; };
class IntrinInteroceptor class IntrinTeroceptor
: public Interoceptor { : public Interoceptor {
public: public:
static constexpr uint32_t DEFAULT_INDICATION_THRESHOLD = 1; static constexpr uint32_t DEFAULT_INDICATION_THRESHOLD = 1;
static constexpr uint32_t DEFAULT_ALERT_THRESHOLD = 5; static constexpr uint32_t DEFAULT_ALERT_THRESHOLD = 5;
static constexpr uint32_t DEFAULT_OVERLOAD_THRESHOLD = 9; static constexpr uint32_t DEFAULT_OVERLOAD_THRESHOLD = 9;
IntrinInteroceptor( IntrinTeroceptor(
uint32_t _id, uint32_t _id,
uint32_t _value = 0, uint32_t _value = 0,
uint32_t _indicationThreshold = DEFAULT_INDICATION_THRESHOLD, uint32_t _indicationThreshold = DEFAULT_INDICATION_THRESHOLD,
@@ -42,7 +42,7 @@ public:
overloadThreshold(_overloadThreshold) overloadThreshold(_overloadThreshold)
{} {}
~IntrinInteroceptor() = default; ~IntrinTeroceptor() = default;
public: public:
uint32_t indicationThreshold; uint32_t indicationThreshold;
@@ -62,11 +62,11 @@ public:
* Each threshold represents a different level of urgency or intensity in the * Each threshold represents a different level of urgency or intensity in the
* sensory input. * sensory input.
* *
* @see IntrinInteroceptor for the threshold values and implementation details * @see IntrinTeroceptor for the threshold values and implementation details
******************************************************************************/ ******************************************************************************/
class NegtrinTeroceptor class NegtrinTeroceptor
: public IntrinInteroceptor { : public IntrinTeroceptor {
public: public:
NegtrinTeroceptor( NegtrinTeroceptor(
uint32_t _id, uint32_t _id,
@@ -74,13 +74,13 @@ public:
uint32_t _indicationThreshold = DEFAULT_INDICATION_THRESHOLD, uint32_t _indicationThreshold = DEFAULT_INDICATION_THRESHOLD,
uint32_t _alertThreshold = DEFAULT_ALERT_THRESHOLD, uint32_t _alertThreshold = DEFAULT_ALERT_THRESHOLD,
uint32_t _overloadThreshold = DEFAULT_OVERLOAD_THRESHOLD) uint32_t _overloadThreshold = DEFAULT_OVERLOAD_THRESHOLD)
: IntrinInteroceptor(_id, _value, : IntrinTeroceptor(_id, _value,
_indicationThreshold, _alertThreshold, _overloadThreshold) _indicationThreshold, _alertThreshold, _overloadThreshold)
{} {}
}; };
class PostrinTeroceptor class PostrinTeroceptor
: public IntrinInteroceptor { : public IntrinTeroceptor {
public: public:
PostrinTeroceptor( PostrinTeroceptor(
uint32_t _id, uint32_t _id,
@@ -88,7 +88,7 @@ public:
uint32_t _indicationThreshold = DEFAULT_INDICATION_THRESHOLD, uint32_t _indicationThreshold = DEFAULT_INDICATION_THRESHOLD,
uint32_t _alertThreshold = DEFAULT_ALERT_THRESHOLD, uint32_t _alertThreshold = DEFAULT_ALERT_THRESHOLD,
uint32_t _overloadThreshold = DEFAULT_OVERLOAD_THRESHOLD) uint32_t _overloadThreshold = DEFAULT_OVERLOAD_THRESHOLD)
: IntrinInteroceptor(_id, _value, : IntrinTeroceptor(_id, _value,
_indicationThreshold, _alertThreshold, _overloadThreshold) _indicationThreshold, _alertThreshold, _overloadThreshold)
{} {}
}; };