Exemplo n.º 1
0
 public void __init1() {
   super.__init1();
   setNamedCreator(
       "bel_simulationProp_dat",
       "rmit.ai.clima.jackagt.data.SimulationProp",
       new aos.jack.jak.agent.DataCreator(true) {
         public java.lang.Object create() {
           return __named_data_bel_simulationProp_dat();
         }
       },
       true);
   setNamedCreator(
       "bel_cellEmpty_dat",
       "rmit.ai.clima.jackagt.data.CellEmpty",
       new aos.jack.jak.agent.DataCreator(true) {
         public java.lang.Object create() {
           return __named_data_bel_cellEmpty_dat();
         }
       },
       true);
   setNamedCreator(
       "bel_currentRequestActionId_dat",
       "rmit.ai.clima.jackagt.data.CurrentRequestActionId",
       new aos.jack.jak.agent.DataCreator(true) {
         public java.lang.Object create() {
           return __named_data_bel_currentRequestActionId_dat();
         }
       },
       true);
   if (gameplaying_cap == null) {
     gameplaying_cap = new rmit.ai.clima.jackagt.capabilities.GamePlaying(this);
     gameplaying_cap.__initCapability(this, "gameplaying_cap");
   }
   gameplaying_cap.__init1();
   if (gamesyncing_cap == null) {
     gamesyncing_cap = new rmit.ai.clima.jackagt.capabilities.GameSyncing(this);
     gamesyncing_cap.__initCapability(this, "gamesyncing_cap");
   }
   gamesyncing_cap.__init1();
   if (climatalking_cap == null) {
     climatalking_cap = new rmit.ai.clima.iface.ClimaTalking(this);
     climatalking_cap.__initCapability(this, "climatalking_cap");
   }
   climatalking_cap.__init1();
   setNamedCreator(
       "bel_currentStatus_dat",
       "rmit.ai.clima.jackagt.data.CurrentStatus",
       new aos.jack.jak.agent.DataCreator(true) {
         public java.lang.Object create() {
           return __named_data_bel_currentStatus_dat();
         }
       },
       true);
 }
Exemplo n.º 2
0
 private synchronized void __init_desc() {
   addNamedObject(
       "bel_simulationProp_dat",
       "rmit.ai.clima.jackagt.data.SimulationProp",
       aos.jack.jak.agent.Agent.WRITEABLE);
   addNamedObject(
       "bel_cellEmpty_dat",
       "rmit.ai.clima.jackagt.data.CellEmpty",
       aos.jack.jak.agent.Agent.WRITEABLE);
   addNamedObject(
       "bel_currentRequestActionId_dat",
       "rmit.ai.clima.jackagt.data.CurrentRequestActionId",
       aos.jack.jak.agent.Agent.WRITEABLE);
   gameplaying_cap = new rmit.ai.clima.jackagt.capabilities.GamePlaying(this);
   gameplaying_cap.__initCapability(this, "gameplaying_cap");
   gameplaying_cap.init_desc();
   gamesyncing_cap = new rmit.ai.clima.jackagt.capabilities.GameSyncing(this);
   gamesyncing_cap.__initCapability(this, "gamesyncing_cap");
   gamesyncing_cap.init_desc();
   climatalking_cap = new rmit.ai.clima.iface.ClimaTalking(this);
   climatalking_cap.__initCapability(this, "climatalking_cap");
   climatalking_cap.init_desc();
   addNamedObject(
       "bel_currentStatus_dat",
       "rmit.ai.clima.jackagt.data.CurrentStatus",
       aos.jack.jak.agent.Agent.WRITEABLE);
   addEvent("rmit.ai.clima.jackagt.events.MESimEnd", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.MESimStart", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent("rmit.ai.clima.iface.PerceiveClimaServer", aos.jack.jak.agent.Agent.HANDLED_EVENT);
   addEvent("rmit.ai.clima.iface.PerceiveClimaServer", aos.jack.jak.agent.Agent.POSTED_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.EUpdateBel", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.ECellChange", aos.jack.jak.agent.Agent.HANDLED_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.ECellChange", aos.jack.jak.agent.Agent.POSTED_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.EGUIDebugMessage", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent(
       "rmit.ai.clima.jackagt.events.MEInformCellStatus", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent(
       "rmit.ai.clima.jackagt.events.MEInformAgentStatus", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent("rmit.ai.clima.iface.TellClimaServer", aos.jack.jak.agent.Agent.HANDLED_EVENT);
   addEvent("rmit.ai.clima.iface.TellClimaServer", aos.jack.jak.agent.Agent.POSTED_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.MEGameEnd", aos.jack.jak.agent.Agent.SENT_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.EStart", aos.jack.jak.agent.Agent.HANDLED_EVENT);
   addEvent("rmit.ai.clima.jackagt.events.EStart", aos.jack.jak.agent.Agent.POSTED_EVENT);
 }
Exemplo n.º 3
0
 public void __init2() {
   super.__init2();
   getNamedObject("bel_simulationProp_dat", "rmit.ai.clima.jackagt.data.SimulationProp");
   getNamedObject("bel_cellEmpty_dat", "rmit.ai.clima.jackagt.data.CellEmpty");
   getNamedObject(
       "bel_currentRequestActionId_dat", "rmit.ai.clima.jackagt.data.CurrentRequestActionId");
   mesimend_s =
       (rmit.ai.clima.jackagt.events.MESimEnd) findEvent("rmit.ai.clima.jackagt.events.MESimEnd");
   mesimstart_s =
       (rmit.ai.clima.jackagt.events.MESimStart)
           findEvent("rmit.ai.clima.jackagt.events.MESimStart");
   perceiveclimaserver_p =
       (rmit.ai.clima.iface.PerceiveClimaServer)
           findEvent("rmit.ai.clima.iface.PerceiveClimaServer");
   eupdatebel_s =
       (rmit.ai.clima.jackagt.events.EUpdateBel)
           findEvent("rmit.ai.clima.jackagt.events.EUpdateBel");
   ecellchange_p =
       (rmit.ai.clima.jackagt.events.ECellChange)
           findEvent("rmit.ai.clima.jackagt.events.ECellChange");
   eguidebugmessage_s =
       (rmit.ai.clima.jackagt.events.EGUIDebugMessage)
           findEvent("rmit.ai.clima.jackagt.events.EGUIDebugMessage");
   meinformcellstatus_s =
       (rmit.ai.clima.jackagt.events.MEInformCellStatus)
           findEvent("rmit.ai.clima.jackagt.events.MEInformCellStatus");
   meinformagentstatus_s =
       (rmit.ai.clima.jackagt.events.MEInformAgentStatus)
           findEvent("rmit.ai.clima.jackagt.events.MEInformAgentStatus");
   tellclimaserver_p =
       (rmit.ai.clima.iface.TellClimaServer) findEvent("rmit.ai.clima.iface.TellClimaServer");
   megameend_s =
       (rmit.ai.clima.jackagt.events.MEGameEnd)
           findEvent("rmit.ai.clima.jackagt.events.MEGameEnd");
   estart_p =
       (rmit.ai.clima.jackagt.events.EStart) findEvent("rmit.ai.clima.jackagt.events.EStart");
   gameplaying_cap.__init2();
   gamesyncing_cap.__init2();
   climatalking_cap.__init2();
   getNamedObject("bel_currentStatus_dat", "rmit.ai.clima.jackagt.data.CurrentStatus");
 }
Exemplo n.º 4
0
 public void setEnabled(boolean t) {
   super.setEnabled(t);
   gameplaying_cap.setEnabled(t);
   gamesyncing_cap.setEnabled(t);
   climatalking_cap.setEnabled(t);
 }
Exemplo n.º 5
0
 public synchronized void __bindNames() {
   super.__bindNames();
   gameplaying_cap.__bindNames();
   gamesyncing_cap.__bindNames();
   climatalking_cap.__bindNames();
 }