public override void Initialise()
 {
     portReal      = new BufferedPortSound();
     portPredicted = new BufferedPortSound();
     portPerceived = new BufferedPortSound();
     portReal.open("/" + mapName + "/" + name + "/real:i");
     portPredicted.open("/" + mapName + "/" + name + "/predicted:o");
     portPerceived.open("/" + mapName + "/" + name + "/perceived:o");
     if (autoconnect_source != null)
     {
         Network.connect(autoconnect_source, YarpModalityVector.getRealPortName(mapName, name));
     }
     base.Initialise();
 }
Beispiel #2
0
 internal static HandleRef getCPtr(BufferedPortSound obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BufferedPortSound obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }