3from .ActionSet
import ActionSet
7 def __init__(self,name,descend_invocation_order = 0, parallel = True):
8 super(UserActionSet,self).
__init__(descend_invocation_order,parallel)
18 return "// @todo Please implement\n"
22 return "// @todo Please implement\n"
26 return "// @todo Please implement\nreturn std::vector< peano4::grid::GridControlEvent >();\n"
31// Feel free to comment in and to add arguments if you want to trace them.
32// Ensure the logTraceOut is activated, too, if you switch on traceIn.
33// logTraceIn( \"""" + operation_name +
"""()" );
34// @todo Please implement
35// logTraceOut( \"""" + operation_name +
"""()" );
41 Returns a description (word) for the mapping which is also used as class name
42 for the generated type. As a consequence, the result should be one word (if
43 possible) and uppercase. Also, every subclass should overwrite this routine.
49 return "// @todo Please implement\n"
53 return "// @todo Please implement\n"
Action set (reactions to events)
get_constructor_body(self)
Define a tailored constructor body.
__init__(self, name, descend_invocation_order=0, parallel=True)
get_attributes(self)
Return attributes as copied and pasted into the generated class.
get_body_of_getGridControlEvents(self)
get_includes(self)
Return include statements that you need.
get_destructor_body(self)
get_body_of_operation(self, operation_name)
Return actual C++ code snippets to be inserted into C++ code.
get_action_set_name(self)
Returns a description (word) for the mapping which is also used as class name for the generated type.
user_should_modify_template(self)
Is the user allowed to modify the output.