Change type: PuppetComponent::thread to PuppetThread

This commit is contained in:
2026-02-18 02:05:18 -04:00
parent 9159e9f7b4
commit 687bab53b5
8 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
namespace smo {
namespace body {
Body::Body(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread)
Body::Body(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread)
: sscl::PuppetComponent(static_cast<sscl::PuppetApplication&>(parent), thread)
{
}
+2 -1
View File
@@ -6,7 +6,8 @@
namespace smo {
namespace director {
Director::Director(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread)
Director::Director(
Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread)
: sscl::PuppetComponent(static_cast<sscl::PuppetApplication&>(parent), thread)
{
}
+1 -1
View File
@@ -16,7 +16,7 @@ class Body
: public sscl::PuppetComponent
{
public:
Body(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread);
Body(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
~Body() = default;
typedef std::function<void(bool)> bodyLifetimeMgmtOpCbFn;
+1 -1
View File
@@ -17,7 +17,7 @@ class Director
: public sscl::PuppetComponent
{
public:
Director(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread);
Director(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
~Director() = default;
void negtrinEventInd(void);
+1 -1
View File
@@ -16,7 +16,7 @@ class Simulator
: public sscl::PuppetComponent
{
public:
Simulator(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread);
Simulator(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
~Simulator() = default;
void initialize();
+1 -1
View File
@@ -14,7 +14,7 @@
namespace smo {
Mind::Mind(void)
: sscl::PuppetApplication(
: sscl::PuppetApplication(
std::vector<std::shared_ptr<sscl::PuppetThread>>{
std::make_shared<MindThread>(SmoThreadId::DIRECTOR, *this),
std::make_shared<MindThread>(SmoThreadId::SIMULATOR, *this),
+2 -1
View File
@@ -4,7 +4,8 @@
namespace smo {
namespace simulator {
Simulator::Simulator(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread)
Simulator::Simulator(
Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread)
: sscl::PuppetComponent(static_cast<sscl::PuppetApplication&>(parent), thread)
{
}