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 smo {
|
||||||
namespace body {
|
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)
|
: sscl::PuppetComponent(static_cast<sscl::PuppetApplication&>(parent), thread)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
namespace smo {
|
namespace smo {
|
||||||
namespace director {
|
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)
|
: sscl::PuppetComponent(static_cast<sscl::PuppetApplication&>(parent), thread)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class Body
|
|||||||
: public sscl::PuppetComponent
|
: public sscl::PuppetComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Body(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread);
|
Body(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
|
||||||
~Body() = default;
|
~Body() = default;
|
||||||
|
|
||||||
typedef std::function<void(bool)> bodyLifetimeMgmtOpCbFn;
|
typedef std::function<void(bool)> bodyLifetimeMgmtOpCbFn;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class Director
|
|||||||
: public sscl::PuppetComponent
|
: public sscl::PuppetComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Director(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread);
|
Director(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
|
||||||
~Director() = default;
|
~Director() = default;
|
||||||
|
|
||||||
void negtrinEventInd(void);
|
void negtrinEventInd(void);
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class Simulator
|
|||||||
: public sscl::PuppetComponent
|
: public sscl::PuppetComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Simulator(Mind &parent, const std::shared_ptr<sscl::ComponentThread> &thread);
|
Simulator(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
|
||||||
~Simulator() = default;
|
~Simulator() = default;
|
||||||
|
|
||||||
void initialize();
|
void initialize();
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
namespace smo {
|
namespace smo {
|
||||||
|
|
||||||
Mind::Mind(void)
|
Mind::Mind(void)
|
||||||
: sscl::PuppetApplication(
|
: sscl::PuppetApplication(
|
||||||
std::vector<std::shared_ptr<sscl::PuppetThread>>{
|
std::vector<std::shared_ptr<sscl::PuppetThread>>{
|
||||||
std::make_shared<MindThread>(SmoThreadId::DIRECTOR, *this),
|
std::make_shared<MindThread>(SmoThreadId::DIRECTOR, *this),
|
||||||
std::make_shared<MindThread>(SmoThreadId::SIMULATOR, *this),
|
std::make_shared<MindThread>(SmoThreadId::SIMULATOR, *this),
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
namespace smo {
|
namespace smo {
|
||||||
namespace simulator {
|
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)
|
: sscl::PuppetComponent(static_cast<sscl::PuppetApplication&>(parent), thread)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user