Libspinscale: begin splitting it off

This commit is contained in:
2025-12-26 01:18:39 -04:00
parent d5c2b61d4c
commit 45959f9d1c
67 changed files with 776 additions and 615 deletions
+10 -10
View File
@@ -1,9 +1,9 @@
#include <iostream>
#include <asynchronousContinuation.h>
#include <asynchronousLoop.h>
#include <callback.h>
#include <callableTracer.h>
#include <component.h>
#include <spinscale/asynchronousContinuation.h>
#include <spinscale/asynchronousLoop.h>
#include <spinscale/callback.h>
#include <spinscale/callableTracer.h>
#include <spinscale/component.h>
#include <componentThread.h>
#include <deviceManager/deviceManager.h>
#include <mindManager/mindManager.h>
@@ -33,7 +33,7 @@ public:
)
{
auto self = ComponentThread::getSelf();
if (self->id != ComponentThread::MRNTT)
if (self->id != SmoThreadId::MRNTT)
{
throw std::runtime_error(std::string(__func__)
+ ": Must be executed on Marionette thread");
@@ -71,7 +71,7 @@ public:
)
{
auto self = ComponentThread::getSelf();
if (self->id != ComponentThread::MRNTT)
if (self->id != SmoThreadId::MRNTT)
{
throw std::runtime_error(std::string(__func__)
+ ": Must be executed on Marionette thread");
@@ -133,7 +133,7 @@ public:
)
{
auto self = ComponentThread::getSelf();
if (self->id != ComponentThread::MRNTT)
if (self->id != SmoThreadId::MRNTT)
{
throw std::runtime_error(std::string(__func__)
+ ": Must be executed on Marionette thread");
@@ -150,7 +150,7 @@ void MarionetteComponent::initializeReq(
{
auto mrntt = ComponentThread::getSelf();
if (mrntt->id != ComponentThread::MRNTT)
if (mrntt->id != SmoThreadId::MRNTT)
{
throw std::runtime_error(std::string(__func__)
+ ": Must be executed on Marionette thread");
@@ -170,7 +170,7 @@ void MarionetteComponent::finalizeReq(
{
auto mrntt = ComponentThread::getSelf();
if (mrntt->id != ComponentThread::MRNTT)
if (mrntt->id != SmoThreadId::MRNTT)
{
throw std::runtime_error(std::string(__func__)
+ ": Must be executed on Marionette thread");