Package dcamapi

Examples of dcamapi.DCAMDEV_OPEN


    final String lModel = new String(model.getBytes());
    System.out.println(lModel);
    assertTrue(lModel.contains("C11440"));

    {
      final DCAMDEV_OPEN lDCAMDEV_OPEN = new DCAMDEV_OPEN();
      final long size = BridJ.sizeOf(DCAMDEV_OPEN.class);
      assertTrue(size == 16);
      lDCAMDEV_OPEN.size(size);

      lDCAMDEV_OPEN.index(0);
      final IntValuedEnum<DCAMERR> dcamdevOpen = DcamapiLibrary.dcamdevOpen(pointerTo(lDCAMDEV_OPEN));
      System.out.format("%s \n", dcamdevOpen.toString());

      assertTrue(dcamdevOpen.toString().contains("DCAMERR_SUCCESS"));
    }
View Full Code Here


                      lDcamApiVersion);
  }

  private final boolean open()
  {
    final DCAMDEV_OPEN lDCAMDEV_OPEN = new DCAMDEV_OPEN();
    final long size = BridJ.sizeOf(DCAMDEV_OPEN.class);
    assertTrue(size == 16);
    lDCAMDEV_OPEN.size(size);

    lDCAMDEV_OPEN.index(mDeviceID);
    final IntValuedEnum<DCAMERR> lError = DcamapiLibrary.dcamdevOpen(pointerTo(lDCAMDEV_OPEN));
    final boolean lSuccess = addErrorToListAndCheckHasSucceeded(lError);

    if (lSuccess)
    {
      mDeviceID = lDCAMDEV_OPEN.hdcam().getPeer();
    }

    return lSuccess;
  }
View Full Code Here

TOP

Related Classes of dcamapi.DCAMDEV_OPEN

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.