Files
salmanoff/smocore/include/quale.h
T
hayodea 6f6fa77498 Get rid of enum Quale::Type, create BoundingQuale; use typeid()
We just learned about typeid. Apparently it was either not mentioned
in the Stroupstrup book or we totally missed it.
2025-08-03 05:23:05 -04:00

49 lines
751 B
C++

#ifndef _QUALE_H
#define _QUALE_H
#include <cstdint>
#include <attentionTrigger.h>
#include <mentalExistent.h>
namespace smo {
class Quale
: public MentalExistent
{
public:
Quale(const MentalEntity::Id id, const int32_t intensity)
: MentalExistent(id),
intensity(intensity)
{}
public:
int32_t intensity;
};
class NeutralQuale
: public Quale
{
};
/* Bounding qualia refer to qualia such as tactile pressure which are
* mostly neutral but disclose information about the limits of the body.
* These qualia are supplied by interoceptive sensors.
**/
class BoundingQuale
: public NeutralQuale
{
};
class NonNeutralQuale
: public Quale, public AttentionTrigger
{
public:
virtual void eventInd(void);
public:
};
} // namespace smo
#endif