Change type: PuppetComponent::thread to PuppetThread
This commit is contained in:
+1
-1
Submodule libspinscale updated: e813962168...01a9c6ecc9
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
@@ -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),
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user