shady.common.op
Class GripperOperation

java.lang.Object
  extended by shady.common.op.Operation
      extended by shady.common.op.BoundOperation
          extended by shady.common.op.BarrelOperation
              extended by shady.common.op.GripperOperation
Direct Known Subclasses:
CloseGripper, OpenGripper

public abstract class GripperOperation
extends BarrelOperation

A Shady gripper Operation.

Copyright (C) 2006 Marsette A. Vona, III

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Author:
Marsette (Marty) A. Vona, III

Field Summary
private static java.lang.String cvsid
          CVS id.
 
Fields inherited from class shady.common.op.BarrelOperation
barrel
 
Fields inherited from class shady.common.op.BoundOperation
shady
 
Constructor Summary
GripperOperation(ShadyCommonAPI shady, int barrel)
          Make a new GripperOperation.
 
Method Summary
abstract  double getTargetState()
          Get the target gripper state for this operation.
 
Methods inherited from class shady.common.op.BoundOperation
exec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsid

private static final java.lang.String cvsid

CVS id.

See Also:
Constant Field Values
Constructor Detail

GripperOperation

public GripperOperation(ShadyCommonAPI shady,
                        int barrel)

Make a new GripperOperation.

Parameters:
shady - The Shady instance on which to operate
barrel - the barrel containing the gripper on which to operate
Method Detail

getTargetState

public abstract double getTargetState()

Get the target gripper state for this operation.