internal DeviceLoopOperation(DeviceLoopOperationDelegate operation, bool blocking, HapticDevice dev)
        {
            if (operation == null)
                throw new ArgumentNullException("operation");

            this.operation = operation;
            this.blocking = blocking;
            this.device = dev;
        }
Beispiel #2
0
 public DeviceLoopOperation RegisterDeviceLoopOperation(DeviceLoopOperationDelegate operation, bool isBlocking)
 {
     DeviceLoopOperation op = new DeviceLoopOperation(operation, isBlocking, this);
     loopOps.Add(op);
     op.Register();
     return op;
 }