Node interactions working again, graph editing functions not complete yet
This commit is contained in:
@@ -18,12 +18,16 @@ namespace VISEQ::SIGNAL {
|
||||
typedef std::shared_ptr<Signal> SPTR_Signal;
|
||||
typedef std::vector<SPTR_Signal> VEC_SPTR_Signal;
|
||||
|
||||
class SignalManager{
|
||||
class SignalManager : public std::enable_shared_from_this<SignalManager>{
|
||||
|
||||
public:
|
||||
SignalManager() {}
|
||||
SignalManager(GraphManager *gm, std::mutex *mutex) : mutex(mutex), gm(gm) {}
|
||||
|
||||
std::shared_ptr<SignalManager> getPtr(){
|
||||
return shared_from_this();
|
||||
}
|
||||
|
||||
VISEQ::MIDI::Midi midi;
|
||||
|
||||
std::mutex *mutex;
|
||||
|
||||
Reference in New Issue
Block a user