commlib.task.fb
クラス FireBrigadeTaskMessage

java.lang.Object
  上位を拡張 commlib.message.RCRSCSMessage
      上位を拡張 commlib.task.TaskMessage
          上位を拡張 commlib.task.fb.FireBrigadeTaskMessage
すべての実装されたインタフェース:
IMessage, ITaskMessage
直系の既知のサブクラス:
ExtinguishAreaTaskMessage

public abstract class FireBrigadeTaskMessage
extends TaskMessage

The class represent the Task for Fire Brigade agent.

作成者:
takefumi

コンストラクタの概要
FireBrigadeTaskMessage(BaseMessageType type, int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID fbID)
          Constructor Create the message to give instructions to FB.
FireBrigadeTaskMessage(BaseMessageType type, java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
          The method that the library use to convert the message.
 
メソッドの概要
 rescuecore2.worldmodel.EntityID getAssignedAgentID()
          Return EntityID of FB that have to execute this task.
 
クラス commlib.task.TaskMessage から継承されたメソッド
getMessageOwnerID
 
クラス commlib.message.RCRSCSMessage から継承されたメソッド
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FireBrigadeTaskMessage

public FireBrigadeTaskMessage(BaseMessageType type,
                              int time,
                              rescuecore2.worldmodel.EntityID ownerID,
                              rescuecore2.worldmodel.EntityID fbID)

Constructor

Create the message to give instructions to FB.
Included data are follow.

パラメータ:
type - message type
time - step num
fbID - EntityID of FB

FireBrigadeTaskMessage

public FireBrigadeTaskMessage(BaseMessageType type,
                              java.util.List<java.lang.Integer> bitList,
                              int offset,
                              java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
The method that the library use to convert the message.

パラメータ:
type -
bitList -
offset -
bitSizeMap -
メソッドの詳細

getAssignedAgentID

public rescuecore2.worldmodel.EntityID getAssignedAgentID()
Return EntityID of FB that have to execute this task.

定義:
インタフェース ITaskMessage 内の getAssignedAgentID
オーバーライド:
クラス TaskMessage 内の getAssignedAgentID
戻り値:
EntityID of FB