@@ -192,13 +192,13 @@ class EventSlot : public Event<E>
192192 EventSlot& operator =(EventSlot&&) = default ;
193193
194194 void Add (const Event<E>& input)
195- { AddInput (input); }
195+ { AddSlotInput (input); }
196196
197197 void Remove (const Event<E>& input)
198- { RemoveInput (input); }
198+ { RemoveSlotInput (input); }
199199
200200 void RemoveAll ()
201- { RemoveAllInputs (); }
201+ { RemoveAllSlotInputs (); }
202202
203203protected:
204204 EventSlot (std::shared_ptr<REACT_IMPL ::EventNode<E>>&& nodePtr) :
@@ -212,7 +212,7 @@ class EventSlot : public Event<E>
212212 return std::make_shared<EventSlotNode<E>>(group);
213213 }
214214
215- void AddInput (const Event<E>& input)
215+ void AddSlotInput (const Event<E>& input)
216216 {
217217 using REACT_IMPL ::NodeId;
218218 using SlotNodeType = REACT_IMPL ::EventSlotNode<E>;
@@ -222,10 +222,10 @@ class EventSlot : public Event<E>
222222 NodeId nodeId = castedPtr->GetInputNodeId ();
223223 auto & graphPtr = GetInternals (this ->GetGroup ()).GetGraphPtr ();
224224
225- graphPtr->PushInput (nodeId, [this , castedPtr, &input] { castedPtr->AddInput (SameGroupOrLink (GetGroup (), input)); });
225+ graphPtr->PushInput (nodeId, [this , castedPtr, &input] { castedPtr->AddSlotInput (SameGroupOrLink (GetGroup (), input)); });
226226 }
227227
228- void RemoveInput (const Event<E>& input)
228+ void RemoveSlotInput (const Event<E>& input)
229229 {
230230 using REACT_IMPL ::NodeId;
231231 using SlotNodeType = REACT_IMPL ::EventSlotNode<E>;
@@ -235,10 +235,10 @@ class EventSlot : public Event<E>
235235 NodeId nodeId = castedPtr->GetInputNodeId ();
236236 auto & graphPtr = GetInternals (this ->GetGroup ()).GetGraphPtr ();
237237
238- graphPtr->PushInput (nodeId, [this , castedPtr, &input] { castedPtr->RemoveInput (SameGroupOrLink (GetGroup (), input)); });
238+ graphPtr->PushInput (nodeId, [this , castedPtr, &input] { castedPtr->RemoveSlotInput (SameGroupOrLink (GetGroup (), input)); });
239239 }
240240
241- void RemoveAllInputs ()
241+ void RemoveAllSlotInputs ()
242242 {
243243 using REACT_IMPL ::NodeId;
244244 using SlotNodeType = REACT_IMPL ::EventSlotNode<E>;
@@ -248,7 +248,7 @@ class EventSlot : public Event<E>
248248 NodeId nodeId = castedPtr->GetInputNodeId ();
249249 auto & graphPtr = GetInternals (this ->GetGroup ()).GetGraphPtr ();
250250
251- graphPtr->PushInput (nodeId, [castedPtr] { castedPtr->RemoveAllInputs (); });
251+ graphPtr->PushInput (nodeId, [castedPtr] { castedPtr->RemoveAllSlotInputs (); });
252252 }
253253};
254254
0 commit comments