LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger Interface Reference

event definition More...

+ Inheritance diagram for org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger:
+ Collaboration diagram for org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger:

Classes

enum  EType
 event types More...
 

Public Member Functions

ILiteral literal ()
 returns the literal of the event More...
 
EType type ()
 returns the type of the event More...
 
int variablesize ()
 returns variable number More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IStructureHash
int structurehash ()
 returns a hash value which defines a hash ove rthe structure More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IShallowCopy< T >
shallowcopy ( @Nullable final IPath... p_prefix)
 clones the object (shallow-copy) More...
 
shallowcopysuffix ()
 clones the object (shallow-copy) without full-qualified path, only suffix is used More...
 

Public Attributes

ITrigger EMPTY
 empty trigger More...
 
- Public Attributes inherited from org.lightjason.agentspeak.language.IStructureHash
Comparator< IStructureHashCOMPARATOR = Comparator.comparingInt( IStructureHash::structurehash )
 comparator More...
 

Detailed Description

Note
trigger are equal iif type and literal functor are equal and number of arguments are equal, otherwise unification is used to define the literal variables

Definition at line 50 of file ITrigger.java.

Member Function Documentation

◆ literal()

ILiteral org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.literal ( )
Returns
literal

Implemented in org.lightjason.agentspeak.language.instantiable.plan.trigger.CTrigger.

Referenced by org.lightjason.agentspeak.language.instantiable.plan.CPlan.execute(), org.lightjason.agentspeak.action.builtin.TestCActionAgent.planlist(), and org.lightjason.agentspeak.language.instantiable.plan.CPlan.variables().

+ Here is the caller graph for this function:

◆ type()

EType org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.type ( )
Returns
type

Implemented in org.lightjason.agentspeak.language.instantiable.plan.trigger.CTrigger.

Referenced by org.lightjason.agentspeak.action.builtin.TestCActionAgent.planlist().

+ Here is the caller graph for this function:

◆ variablesize()

int org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.variablesize ( )

Member Data Documentation

◆ EMPTY

ITrigger org.lightjason.agentspeak.language.instantiable.plan.trigger.ITrigger.EMPTY

Definition at line 55 of file ITrigger.java.