cde2737876
We haven't ported everything. Just the top-level methods. We'll dig in to the leaf stuff later. Surprisingly, this all went without any real difficulties. Runs like a charm on first try.
30 lines
537 B
C++
30 lines
537 B
C++
#ifndef _BODY_COMPONENT_H
|
|
#define _BODY_COMPONENT_H
|
|
|
|
#include <spinscale/puppetApplication.h>
|
|
#include <spinscale/component.h>
|
|
#include <mindComponent.h>
|
|
#include <body/bodyThread.h>
|
|
|
|
namespace smo {
|
|
|
|
class Mind;
|
|
|
|
namespace body {
|
|
|
|
class Body
|
|
: public MindComponent
|
|
{
|
|
public:
|
|
Body(Mind &parent, const std::shared_ptr<sscl::PuppetThread> &thread);
|
|
~Body() = default;
|
|
|
|
BodyViralPostingInvoker<bool> initializeCReq();
|
|
BodyViralPostingInvoker<bool> finalizeCReq();
|
|
};
|
|
|
|
} // namespace body
|
|
} // namespace smo
|
|
|
|
#endif // _BODY_COMPONENT_H
|