Files
salmanoff/core/include/quale.h
T

41 lines
548 B
C++
Raw Normal View History

2024-09-04 11:24:30 +10:00
#ifndef _QUALE_H
#define _QUALE_H
2024-09-04 14:08:50 +10:00
#include <cstdint>
2024-09-08 01:04:41 +10:00
#include <attentionTrigger.h>
2024-09-04 14:08:50 +10:00
2024-09-04 11:24:30 +10:00
class Quale
{
2024-09-04 14:08:50 +10:00
public:
2024-09-04 11:24:30 +10:00
enum class Type
{
NEUTRAL,
/* Bounding refers to qualia such as tactile pressure which
* are mostly neutral but disclose information about the limits
* of the body.
**/
BOUNDING,
PAINFUL,
PLEASURABLE
} type;
2024-09-04 14:08:50 +10:00
int32_t intensity;
};
class NeutralQuale
: public Quale
{
};
class NonNeutralQuale
2024-09-08 01:04:41 +10:00
: public Quale, public AttentionTrigger
2024-09-04 14:08:50 +10:00
{
public:
virtual void eventInd(void);
public:
BodyCoords bodyCoords;
2024-09-04 11:24:30 +10:00
};
#endif