com.kuka.nav.fleet.filter
Class MobileRobotTypeFilter

java.lang.Object
  extended by com.kuka.nav.fleet.filter.MobileRobotTypeFilter
All Implemented Interfaces:
DispatcherFilter

public class MobileRobotTypeFilter
extends Object
implements DispatcherFilter

Basic IResourceFilter implementation accepting only resources with a specified mobile robot type.


Constructor Summary
MobileRobotTypeFilter(com.kuka.nav.robot.MobileRobotType type)
          Instantiates a new robot type filter.
 
Method Summary
 boolean accept(com.kuka.nav.robot.MobileRobot resource, GraphMotion motion)
          Checks if a mobile robot fulfils the filter requirements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileRobotTypeFilter

public MobileRobotTypeFilter(com.kuka.nav.robot.MobileRobotType type)
Instantiates a new robot type filter.

Parameters:
type - the robot type to accept
Method Detail

accept

public boolean accept(com.kuka.nav.robot.MobileRobot resource,
                      GraphMotion motion)
Description copied from interface: DispatcherFilter
Checks if a mobile robot fulfils the filter requirements.

Specified by:
accept in interface DispatcherFilter
Parameters:
resource - the robot to check
motion - the corresponding fleet motion the robot has to execute
Returns:
true if the given mobile robot is accepted by the filter, false otherwise


Copyright © 2019. All rights reserved.