commlib.task.pf
クラス PoliceForceTaskMessage
java.lang.Object
commlib.message.RCRSCSMessage
commlib.task.TaskMessage
commlib.task.pf.PoliceForceTaskMessage
- すべての実装されたインタフェース:
- IMessage, ITaskMessage
- 直系の既知のサブクラス:
- ClearRouteTaskMessage
public abstract class PoliceForceTaskMessage
- extends TaskMessage
The class represent the Task for Police Force agent.
- 作成者:
- takefumi
コンストラクタの概要 |
PoliceForceTaskMessage(BaseMessageType type,
int time,
rescuecore2.worldmodel.EntityID ownerID,
rescuecore2.worldmodel.EntityID pfID)
Constructor Create the message to give instructions to PF. |
PoliceForceTaskMessage(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 PF that have to execute this task. |
クラス java.lang.Object から継承されたメソッド |
getClass, notify, notifyAll, toString, wait, wait, wait |
PoliceForceTaskMessage
public PoliceForceTaskMessage(BaseMessageType type,
int time,
rescuecore2.worldmodel.EntityID ownerID,
rescuecore2.worldmodel.EntityID pfID)
Constructor
Create the message to give instructions to PF.
Included data are follow.
- time:the time that the message is created.(int)
- ownerID:EntityID of the agent that sent this message.
- pfID:EntityID of PF that is ordered to do.
- パラメータ:
type
- message typetime
- step numpfID
- EntityID of PF
PoliceForceTaskMessage
public PoliceForceTaskMessage(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 PF that have to execute this task.
- 定義:
- インタフェース
ITaskMessage
内の getAssignedAgentID
- オーバーライド:
- クラス
TaskMessage
内の getAssignedAgentID
- 戻り値:
- EntityID of PF