Files
salmanoff/smocore/include/mindThread.h
T

33 lines
444 B
C++
Raw Normal View History

2025-12-26 01:18:39 -04:00
#ifndef MIND_THREAD_H
#define MIND_THREAD_H
#include <memory>
#include <componentThread.h>
namespace smo {
class Mind; // Forward declaration
class MindThread
: public PuppetThread
{
public:
MindThread(ThreadId _id, Mind& parent)
: PuppetThread(_id),
parent(parent)
{
}
Mind& getParent() const { return parent; }
protected:
void handleException() override;
public:
Mind& parent;
};
} // namespace smo
#endif // MIND_THREAD_H