Files
salmanoff/corelogic/include/mind.h
T

33 lines
487 B
C++
Raw Normal View History

2024-09-04 14:08:50 +10:00
#ifndef _MIND_H
#define _MIND_H
2024-09-08 01:04:41 +10:00
#include <cstdlib>
#include <memory>
2024-09-04 14:08:50 +10:00
#include <thought.h>
2024-09-08 01:04:41 +10:00
#include <concept.h>
#include <attentionGrabber.h>
2024-09-04 14:08:50 +10:00
class Mind
{
public:
2024-09-08 01:04:41 +10:00
AttentionGrabber poll(void);
void focusOn(std::shared_ptr<Thought> thought)
2024-09-04 14:08:50 +10:00
{
2024-09-08 01:04:41 +10:00
currentThought = thought;
2024-09-04 14:08:50 +10:00
}
2024-09-08 01:04:41 +10:00
void execute(void)
{};
bool recognizes(AttentionTrigger intrin)
{ return !!(std::rand() / 2); };
2024-09-04 14:08:50 +10:00
public:
2024-09-08 01:04:41 +10:00
std::shared_ptr<Thought> currentThought;
Concept Desirables,
Undesirables;
2024-09-04 14:08:50 +10:00
};
#endif