cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands
Class SetCamera

Package class diagram package SetCamera
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands.SetCamera

public class SetCamera
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage

This command is used to send a command to a camera. Corresponding GameBots command is SET.


Field Summary
protected  String Type
           
 
Constructor Summary
SetCamera()
          WARNING: this is empty-command constructor, you have to use Setters to fill it up!
SetCamera(SetCamera original)
          Cloning constructor.
SetCamera(String Type, String[] Names, Double[] FOVs)
           
SetCamera(String Type, String Name, Double FOV)
           
 
Method Summary
 SetCamera addNameFOV(String Name, Double FOV)
           
 Map<String,Double> getNamesFovs()
           
 String getType()
           
 SetCamera setNamesFovs(Map<String,Double> NamesFovs)
           
 String toHtmlString()
           
 String toMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Type

protected String Type
Constructor Detail

SetCamera

public SetCamera(String Type,
                 String Name,
                 Double FOV)

SetCamera

public SetCamera(String Type,
                 String[] Names,
                 Double[] FOVs)

SetCamera

public SetCamera()

WARNING: this is empty-command constructor, you have to use Setters to fill it up!


SetCamera

public SetCamera(SetCamera original)
Cloning constructor.

Method Detail

getType

public String getType()

getNamesFovs

public Map<String,Double> getNamesFovs()

setNamesFovs

public SetCamera setNamesFovs(Map<String,Double> NamesFovs)

addNameFOV

public SetCamera addNameFOV(String Name,
                            Double FOV)

toString

public String toString()
Overrides:
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


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