
io.github.agentsoz.abmjack.env.GenericActions Maven / Gradle / Ivy
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
This code is generated by JAC version 5.6 by
Agent Oriented Software. http://www.agent-software.com.au
DO NOT ALTER THIS CODE AND DO NOT REMOVE THIS COMMENT
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
package io.github.agentsoz.abmjack.env;
/*
* #%L
* BDI-ABM Integration Package
* %%
* Copyright (C) 2014 - 2017 by its authors. See AUTHORS file.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import aos.jack.jak.agent.Capability;
import aos.jack.jak.agent.NameSpace;
import aos.jack.jak.agent.Agent;
import java.lang.Object;
public class GenericActions extends aos.jack.jak.agent.Capability {
public io.github.agentsoz.abmjack.env.ActionList ActionData_dat;
public void __init1()
{
setNamedCreator("ActionData_dat","io.github.agentsoz.abmjack.env.ActionList",new aos.jack.jak.agent.DataCreator(true){
public java.lang.Object create()
{
return __named_data_ActionData_dat();
}
},true);
}
public void __init2()
{
getNamedObject("ActionData_dat","io.github.agentsoz.abmjack.env.ActionList");
autorun();
}
synchronized public void __init_desc()
{
externals.put("io.github.agentsoz.abmjack.env.GenericActGoal","io.github.agentsoz.abmjack.env.GenericActGoal");
externals.put("io.github.agentsoz.abmjack.env.UpdateAction","io.github.agentsoz.abmjack.env.UpdateAction");
addNamedObject("ActionData_dat","io.github.agentsoz.abmjack.env.ActionList",aos.jack.jak.agent.Agent.WRITEABLE);
addEvent("io.github.agentsoz.abmjack.env.UpdateAction",aos.jack.jak.agent.Agent.HANDLED_EVENT);
addEvent("io.github.agentsoz.abmjack.env.GenericActGoal",aos.jack.jak.agent.Agent.HANDLED_EVENT);
addPlan("io.github.agentsoz.abmjack.env.UpdateActionPlan",0);
addPlan("io.github.agentsoz.abmjack.env.GenericActPlan",0);
}
public GenericActions(aos.jack.jak.agent.NameSpace outer)
{
super(outer);
}
synchronized public void __bindNames()
{
super.__bindNames();
__bindToPlan("io.github.agentsoz.abmjack.env.UpdateActionPlan");
__bindToPlan("io.github.agentsoz.abmjack.env.GenericActPlan");
}
private io.github.agentsoz.abmjack.env.ActionList __named_data_ActionData_dat()
{
if (ActionData_dat != null)
return ActionData_dat;
ActionData_dat = new io.github.agentsoz.abmjack.env.ActionList();
if (!ActionData_dat.attach(this))
ActionData_dat = null;
setNamedObject("ActionData_dat","io.github.agentsoz.abmjack.env.ActionList",ActionData_dat);
return ActionData_dat;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy