jp.digitalmuseum.mr.entity
クラス Noopy2

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.entity.EntityImpl
      上位を拡張 jp.digitalmuseum.mr.entity.RobotAbstractImpl
          上位を拡張 jp.digitalmuseum.mr.entity.PhysicalRobotAbstractImpl
              上位を拡張 jp.digitalmuseum.mr.entity.Noopy2
すべての実装されたインタフェース:
java.io.Serializable, Entity, PhysicalEntity, PhysicalRobot, Robot, EventProvider

public class Noopy2
extends PhysicalRobotAbstractImpl
Noopy v.2, a prototype robot.
作成者:
Jun KATO, Charith Fernando & Yuta Sugiura
関連項目:
Noopy2.NoopyWheels, 直列化された形式

入れ子のクラスの概要
static class Noopy2.Accelerometer
           
static class Noopy2.AnalogSensor
           
static class Noopy2.BendSensor
           
static class Noopy2.DCMotorController
           
static class Noopy2.DistanceSensor
           
static class Noopy2.NoopyExtension
           
static class Noopy2.NoopyWheels
          Wheels of Noopy.
static class Noopy2.Port
           
static class Noopy2.PortType
           
static class Noopy2.ServoMotorController
           
 
フィールドの概要
static double HEIGHT
           
static double WIDTH
           
 
コンストラクタの概要
Noopy2()
           
Noopy2(Connector connector)
           
Noopy2(Connector connector, java.lang.String name)
           
Noopy2(java.lang.String connectionString)
           
Noopy2(java.lang.String connectionString, java.lang.String name)
           
 
メソッドの概要
 boolean addExtension(java.lang.Class<? extends Noopy2.NoopyExtension> extensionClass)
           
 boolean addExtension(java.lang.Class<? extends Noopy2.NoopyExtension> extensionClass, Noopy2.Port port)
           
 void dispose()
          Called when disposing this Entity.
protected  java.util.List<ResourceAbstractImpl> getResources()
          This method must be implemented by child classes.
Caution: Do not call this method outside this class.
 java.awt.Shape getShape()
           
protected  void initialize()
           
 
クラス jp.digitalmuseum.mr.entity.PhysicalRobotAbstractImpl から継承されたメソッド
connect, disconnect, getConfigurationComponent, getConnector, isConnected, setConnector
 
クラス jp.digitalmuseum.mr.entity.RobotAbstractImpl から継承されたメソッド
freeResource, freeResources, getAssignedTask, getAssignedTasks, getAvailableExclusiveResourceTypes, getResourceComponent, getResourceComponents, getResourceComponents, getResourceTypes, getTypeName, requestResource, requestResources, setTypeName
 
クラス jp.digitalmuseum.mr.entity.EntityImpl から継承されたメソッド
addEventListener, distributeEvent, getName, isDisposed, removeEventListener, setName, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース jp.digitalmuseum.mr.entity.Robot から継承されたメソッド
freeResource, freeResources, getAssignedTask, getAssignedTasks, getAvailableExclusiveResourceTypes, getResourceComponent, getResourceComponents, getResourceComponents, getResourceTypes, getTypeName, requestResource, requestResources
 
インタフェース jp.digitalmuseum.mr.entity.Entity から継承されたメソッド
getName, isDisposed, setName
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 
フィールドの詳細

WIDTH

public static final double WIDTH
関連項目:
定数フィールド値

HEIGHT

public static final double HEIGHT
関連項目:
定数フィールド値
コンストラクタの詳細

Noopy2

public Noopy2()

Noopy2

public Noopy2(java.lang.String connectionString)

Noopy2

public Noopy2(java.lang.String connectionString,
              java.lang.String name)

Noopy2

public Noopy2(Connector connector)

Noopy2

public Noopy2(Connector connector,
              java.lang.String name)
メソッドの詳細

initialize

protected void initialize()
オーバーライド:
クラス RobotAbstractImpl 内の initialize

addExtension

public boolean addExtension(java.lang.Class<? extends Noopy2.NoopyExtension> extensionClass)

addExtension

public boolean addExtension(java.lang.Class<? extends Noopy2.NoopyExtension> extensionClass,
                            Noopy2.Port port)

dispose

public void dispose()
インタフェース Entity の記述:
Called when disposing this Entity.
定義:
インタフェース Entity 内の dispose
オーバーライド:
クラス PhysicalRobotAbstractImpl 内の dispose
関連項目:
Entity.dispose()

getResources

protected java.util.List<ResourceAbstractImpl> getResources()
クラス RobotAbstractImpl の記述:
This method must be implemented by child classes.
Caution: Do not call this method outside this class.
オーバーライド:
クラス RobotAbstractImpl 内の getResources
戻り値:
Returns a set of all resources.

getShape

public java.awt.Shape getShape()
定義:
インタフェース Entity 内の getShape
定義:
インタフェース PhysicalEntity 内の getShape
オーバーライド:
クラス EntityImpl 内の getShape
戻り値:
Returns shape of this entity.
関連項目:
Entity.getShape()


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