usb.jphoto
Class ParamVector

java.lang.Object
  |
  +--usb.jphoto.Buffer
        |
        +--usb.jphoto.Container
              |
              +--usb.jphoto.ParamVector
Direct Known Subclasses:
Command, Event, Response

public class ParamVector
extends Container

This class is used for PTP messages consisting of only a set of thirty-two bit parameters, such as commands, responses, and events.


Method Summary
 int getNumParams()
          Returns the number of parameters in this data block
 int getParam1()
          Returns the first positional parameter.
 int getParam2()
          Returns the second positional parameter.
 int getParam3()
          Returns the third positional parameter.
 
Methods inherited from class usb.jphoto.Container
getBlockType, getBlockTypeName, getCode, getCodeName, getCodeString, getCodeString, getCodeType, getLength, getXID, toString
 
Methods inherited from class usb.jphoto.Buffer
getS16, getS32, getS64, getS8, getString, getU16, getU8, nextS16, nextS16Array, nextS32, nextS32Array, nextS64, nextS64Array, nextS8, nextS8Array, nextString, nextU16, nextU16Array, nextU8, nextU8Array, put16, put32, put64, put8, putString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getParam1

public final int getParam1()
Returns the first positional parameter.

getParam2

public final int getParam2()
Returns the second positional parameter.

getParam3

public final int getParam3()
Returns the third positional parameter.

getNumParams

public final int getNumParams()
Returns the number of parameters in this data block


Associated source code is licenced under the GPL.
See http://jphoto.sourceforge.net
This documentation was derived from that source code on 2001-04-12.