Package com.fluxtion.generator.targets
Class SepJavaSourceModelHugeFilter
java.lang.Object
com.fluxtion.generator.targets.SepJavaSourceModelHugeFilter
public class SepJavaSourceModelHugeFilter
extends java.lang.Object
- Author:
- Greg Higgins
-
Constructor Summary
Constructors Constructor Description SepJavaSourceModelHugeFilter(SimpleEventProcessorModel model)
SepJavaSourceModelHugeFilter(SimpleEventProcessorModel model, boolean inlineEventHandling)
SepJavaSourceModelHugeFilter(SimpleEventProcessorModel model, boolean inlineEventHandling, boolean assignPrivateMembers)
SepJavaSourceModelHugeFilter(SimpleEventProcessorModel model, boolean inlineEventHandling, boolean assignPrivateMembers, int maxFilterBranches)
-
Method Summary
Modifier and Type Method Description void
buildSourceModel()
java.util.ArrayList<java.lang.String>
getBatchEndMethodList()
java.lang.String
getBatchEndMethods()
java.util.ArrayList<java.lang.String>
getBatchPauseMethodList()
java.lang.String
getBatchPauseMethods()
java.lang.String
getDebugEventDispatch()
java.lang.String
getDebugEventHandlers()
java.lang.String
getDirtyFlagDeclarations()
java.lang.String
getEventDispatch()
String representation of top level event dispatchpublic void onEvent(com.fluxtion.api.event.Event event)
java.util.ArrayList<java.lang.String>
getEventEndMethodList()
java.lang.String
getEventEndMethods()
java.lang.String
getEventHandlers()
String representation of java code handling subclass ofEvent
, with support for specific dispatch based upon filterID.java.lang.String
getFilterConstantDeclarations()
java.lang.String
getImports()
java.util.ArrayList<java.lang.String>
getInitialiseMethodList()
java.lang.String
getInitialiseMethods()
java.util.ArrayList<java.lang.String>
getNodeDeclarationList()
java.lang.String
getNodeDeclarations()
java.util.ArrayList<java.lang.String>
getNodeMemberAssignmentList()
java.lang.String
getNodeMemberAssignments()
java.util.ArrayList<java.lang.String>
getPublicNodeList()
java.lang.String
getResetDirtyFlags()
java.util.ArrayList<java.lang.String>
getTearDownMethodList()
java.lang.String
getTearDownMethods()
java.lang.String
getTestDispatch()
java.lang.String
toString()
-
Constructor Details
-
SepJavaSourceModelHugeFilter
-
SepJavaSourceModelHugeFilter
-
SepJavaSourceModelHugeFilter
public SepJavaSourceModelHugeFilter(SimpleEventProcessorModel model, boolean inlineEventHandling, boolean assignPrivateMembers) -
SepJavaSourceModelHugeFilter
public SepJavaSourceModelHugeFilter(SimpleEventProcessorModel model, boolean inlineEventHandling, boolean assignPrivateMembers, int maxFilterBranches)
-
-
Method Details
-
buildSourceModel
public void buildSourceModel() throws java.lang.Exception- Throws:
java.lang.Exception
-
getInitialiseMethodList
public java.util.ArrayList<java.lang.String> getInitialiseMethodList() -
getInitialiseMethods
public java.lang.String getInitialiseMethods() -
getBatchEndMethodList
public java.util.ArrayList<java.lang.String> getBatchEndMethodList() -
getBatchPauseMethodList
public java.util.ArrayList<java.lang.String> getBatchPauseMethodList() -
getEventEndMethodList
public java.util.ArrayList<java.lang.String> getEventEndMethodList() -
getTearDownMethodList
public java.util.ArrayList<java.lang.String> getTearDownMethodList() -
getNodeDeclarationList
public java.util.ArrayList<java.lang.String> getNodeDeclarationList() -
getNodeMemberAssignmentList
public java.util.ArrayList<java.lang.String> getNodeMemberAssignmentList() -
getPublicNodeList
public java.util.ArrayList<java.lang.String> getPublicNodeList() -
getTestDispatch
public java.lang.String getTestDispatch() -
getNodeMemberAssignments
public java.lang.String getNodeMemberAssignments() -
getFilterConstantDeclarations
public java.lang.String getFilterConstantDeclarations() -
getEventDispatch
public java.lang.String getEventDispatch()String representation of top level event dispatchpublic void onEvent(com.fluxtion.api.event.Event event)
public void handleEvent([specific event] event) { [eventHandlers] }
- Returns:
- top level event dispatch string
-
getEventHandlers
public java.lang.String getEventHandlers()String representation of java code handling subclass ofEvent
, with support for specific dispatch based upon filterID. If inlining is false the following output will be produced:public void handleEvent([specific event] event) { [eventHandlers] }
- Returns:
- type specific event dispatch code
-
getDebugEventHandlers
public java.lang.String getDebugEventHandlers() -
getDebugEventDispatch
public java.lang.String getDebugEventDispatch() -
getNodeDeclarations
public java.lang.String getNodeDeclarations() -
getDirtyFlagDeclarations
public java.lang.String getDirtyFlagDeclarations() -
getResetDirtyFlags
public java.lang.String getResetDirtyFlags() -
getBatchEndMethods
public java.lang.String getBatchEndMethods() -
getEventEndMethods
public java.lang.String getEventEndMethods() -
getBatchPauseMethods
public java.lang.String getBatchPauseMethods() -
getTearDownMethods
public java.lang.String getTearDownMethods() -
getImports
public java.lang.String getImports() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-