cz.cuni.amis.pogamut.usar2004.agent.module.nfo
Class SuperNfo

Package class diagram package SuperNfo
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensorModule<USAR2004Bot>
          extended by cz.cuni.amis.pogamut.usar2004.agent.module.nfo.SuperNfo
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent
Direct Known Subclasses:
NfoBeginMapInfo, NfoStartPoses

public abstract class SuperNfo
extends cz.cuni.amis.pogamut.base.agent.module.SensorModule<USAR2004Bot>

Parent class for all possible nfo subjects. It covers the basic and common properties for all the nfo subjects.

Author:
vejmanm

Field Summary
protected  NfoMessage lastMessage
           
protected  cz.cuni.amis.pogamut.usar2004.agent.module.nfo.SuperNfo.NfoMessageListener nfoListener
           
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensorModule
worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
SuperNfo(USAR2004Bot bot, String type)
          Ctor.
 
Method Summary
protected  void cleanUp()
           
 Boolean isReady()
          Used to make sure the object is filled.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nfoListener

protected cz.cuni.amis.pogamut.usar2004.agent.module.nfo.SuperNfo.NfoMessageListener nfoListener

lastMessage

protected NfoMessage lastMessage
Constructor Detail

SuperNfo

public SuperNfo(USAR2004Bot bot,
                String type)
Ctor.

Parameters:
bot - USAR2004Bot variable for filling base class.
type - Nfo type describes particular subject about which we want to know about. It is used to distinguish incoming message from the server.
Method Detail

cleanUp

protected void cleanUp()
Overrides:
cleanUp in class cz.cuni.amis.pogamut.base.agent.module.AgentModule<USAR2004Bot>

isReady

public Boolean isReady()
Used to make sure the object is filled.

Returns:
Returns true if the object is filled with Nfo message.


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.