Beispiel #1
0
 protected virtual void OnDisconnected(PinConnectionEventArgs args)
 {
     if (FDisconnected != null)
     {
         FDisconnected(this, args);
     }
 }
Beispiel #2
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublished += FClient_MqttMsgPublished;
     }
 }
Beispiel #3
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

            FOutput.SliceCount = 1;
            FOutput[0]         = link;
            FOutput.Flush();
        }
Beispiel #4
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
Beispiel #5
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient.Count() > 0 && FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublishReceived += FClient_MqttMsgPublishReceived;
         FClient.MqttMsgSubscribed      += FClient_MqttMsgSubscribed;
         FClient.MqttMsgUnsubscribed    += FClient_MqttMsgUnsubscribed;
     }
 }
 void FSource_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.invalidateconnect = true;
     if (this.oldsource != null)
     {
         this.oldsource.BeginQuery -= new DX11QueryableDelegate(AbstractQueryNode_BeginQuery);
         this.oldsource.EndQuery   -= new DX11QueryableDelegate(AbstractQueryNode_EndQuery);
     }
     this.oldsource = null;
 }
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
Beispiel #8
0
 void FInState_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = false;
 }
Beispiel #9
0
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
Beispiel #10
0
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
Beispiel #11
0
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
Beispiel #12
0
        private void disconnect(object sender, PinConnectionEventArgs args)
        {
            FAgents.Clear();

            FOutput.SliceCount = 1;
            FOutput[0] = link;
            FOutput.Flush();
        }
 void FSource_Connected(object sender, PinConnectionEventArgs args)
 {
     this.invalidateconnect = true;
 }
 void FInState_Connected(object sender, PinConnectionEventArgs args)
 {
     this.stateconnected = true;
 }
 void FGeometry_Connected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = true;
 }
Beispiel #16
0
 private void connect(object sender, PinConnectionEventArgs args)
 {
     FInput.Sync();
 }
Beispiel #17
0
        private void pin_Connected(object sender, PinConnectionEventArgs args)
        {
            IPin2 sink = sender as IPin2;

            this.SetLink(sink.InternalCOMInterf, args.OtherPin, false);
        }
Beispiel #18
0
 private void FInClient_Connected(object sender, PinConnectionEventArgs args)
 {
     if (FInClient[0] != null)
     {
         FClient = FInClient[0];
         FClient.MqttMsgPublished += FClient_MqttMsgPublished;
     }
 }
Beispiel #19
0
 void FInEngine_CnnEvent(object sender, PinConnectionEventArgs args)
 {
     this.FInvalidateConnect = true;
 }
Beispiel #20
0
 private void FInClient_Disconnected(object sender, PinConnectionEventArgs args)
 {
     if (FClient != null)
     {
         FClient.MqttMsgPublished -= FClient_MqttMsgPublished;
         FClient = null;
     }
 }
 void FGeometry_Disconnected(object sender, PinConnectionEventArgs args)
 {
     this.geomconnected = false;
 }
 private void FShaderProvider_Connected(object sender, PinConnectionEventArgs args)
 {
     RecalcShader(false);
 }
Beispiel #23
0
 protected void connect(object sender, PinConnectionEventArgs args)
 {
     ( (Pin<BehaviorLink>) sender).Sync();
 }
Beispiel #24
0
 private void Input_Disconnected(object sender, PinConnectionEventArgs args)
 {
     FLogger.Log(LogType.Debug, "DisConnected");
     init = true;
 }
Beispiel #25
0
 private void connect(object sender, PinConnectionEventArgs args)
 {
     FInput.Sync();
 }
Beispiel #26
0
 private void Input_Connected(object sender, PinConnectionEventArgs args)
 {
     FLogger.Log(LogType.Debug, "connected");
 }
Beispiel #27
0
 protected void connect(object sender, PinConnectionEventArgs args)
 {
     ((Pin <BehaviorLink>)sender).Sync();
 }
Beispiel #28
0
 private void OnConnected(object sender, PinConnectionEventArgs args)
 {
     reset = true;
 }