jp.digitalmuseum.mr.entity
インタフェース Robot

すべてのスーパーインタフェース:
Entity, EventProvider, java.io.Serializable
既知のサブインタフェースの一覧:
PhysicalRobot, ProxyRobot
既知の実装クラスの一覧:
CloneWheelsRobot, HakoniwaRobot, HakoniwaRobotWithCleanerBrush, HakoniwaRobotWithPen, MindstormsNXT, MindstormsNXTWithPen, Mini, NetTansor, Noopy, Noopy2, PhysicalRobotAbstractImpl, ProxyRobotAbstractImpl, RobotAbstractImpl, Roomba

public interface Robot
extends Entity, EventProvider, java.io.Serializable

Robot interface.
Real and virtual robots implement this interface.

作成者:
Jun KATO
関連項目:
RobotAbstractImpl, ProxyRobot

メソッドの概要
 void freeResource(Resource resource, java.lang.Object object)
           
 void freeResources(java.util.Collection<Resource> resources, java.lang.Object object)
           
 Task getAssignedTask(java.lang.Class<? extends Resource> resourceType)
           
 java.util.Set<Task> getAssignedTasks(java.lang.Class<? extends Resource> resourceType)
           
 java.util.List<java.lang.Class<? extends Resource>> getAvailableExclusiveResourceTypes()
           
 javax.swing.JComponent getResourceComponent(java.lang.Class<? extends Resource> resourceType)
           
 java.util.List<javax.swing.JComponent> getResourceComponents()
           
 java.util.List<javax.swing.JComponent> getResourceComponents(java.util.Collection<java.lang.Class<? extends Resource>> resourceTypes)
           
 java.util.List<java.lang.Class<? extends Resource>> getResourceTypes()
           
 java.lang.String getTypeName()
          Get a name of the type of this robot.
<T extends Resource>
T
requestResource(java.lang.Class<T> resourceType, java.lang.Object object)
          Request resource with specified interface.
 ResourceMap requestResources(java.util.Collection<java.lang.Class<? extends Resource>> resourceTypes, java.lang.Object object)
          Request resources with specified interfaces.
 
インタフェース jp.digitalmuseum.mr.entity.Entity から継承されたメソッド
dispose, getConfigurationComponent, getName, getShape, isDisposed, setName
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 

メソッドの詳細

getTypeName

java.lang.String getTypeName()
Get a name of the type of this robot.

定義:
インタフェース Entity 内の getTypeName

getResourceTypes

java.util.List<java.lang.Class<? extends Resource>> getResourceTypes()
戻り値:
Returns a set of resource interfaces.

getAvailableExclusiveResourceTypes

java.util.List<java.lang.Class<? extends Resource>> getAvailableExclusiveResourceTypes()
戻り値:
Returns a set of available resource interfaces.

getAssignedTask

Task getAssignedTask(java.lang.Class<? extends Resource> resourceType)
戻り値:
Returns assigned task of a resource.

getAssignedTasks

java.util.Set<Task> getAssignedTasks(java.lang.Class<? extends Resource> resourceType)
戻り値:
Returns assigned task of a resource.

requestResources

ResourceMap requestResources(java.util.Collection<java.lang.Class<? extends Resource>> resourceTypes,
                             java.lang.Object object)
Request resources with specified interfaces.

パラメータ:
resourceTypes -
戻り値:
Returns the resource if succeeded. Otherwise, returns null.

requestResource

<T extends Resource> T requestResource(java.lang.Class<T> resourceType,
                                       java.lang.Object object)
Request resource with specified interface.

パラメータ:
resourceType -
戻り値:
Returns the resource if succeeded. Otherwise, returns null.

freeResources

void freeResources(java.util.Collection<Resource> resources,
                   java.lang.Object object)

freeResource

void freeResource(Resource resource,
                  java.lang.Object object)

getResourceComponent

javax.swing.JComponent getResourceComponent(java.lang.Class<? extends Resource> resourceType)

getResourceComponents

java.util.List<javax.swing.JComponent> getResourceComponents()

getResourceComponents

java.util.List<javax.swing.JComponent> getResourceComponents(java.util.Collection<java.lang.Class<? extends Resource>> resourceTypes)


Copyright by Jun KATO (arc@dmz) at http://mr.digitalmuseum.jp/