2024-12-13 17:06:05 +01:00

42 lines
747 B
C++

#pragma once
#include "Participant.h"
namespace Passer::Control {
class CoreThing {
public:
// Participant *client;
unsigned char networkId;
unsigned char id;
// CoreThing *parent;
unsigned char type;
const char *name;
const char *modelUrl;
// protected Sensor sensor;
public:
CoreThing(
// Participant *client,
unsigned char networkId, unsigned char thingId,
unsigned char thingType = 0);
protected:
virtual void Init();
// Things
};
// class CoreThings {
// friend class CoreThing;
// public:
// static CoreThing *allThings[];
// public:
// static CoreThing *Get(unsigned char networkId, unsigned char thingId);
// static bool Add(CoreThing *thing);
// };
} // namespace Passer::Control