6f6fa77498
We just learned about typeid. Apparently it was either not mentioned in the Stroupstrup book or we totally missed it.
49 lines
751 B
C++
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
|