An ActivityTemplate specifies the type of an activity, as well as the arguments it should be given.

Activity templates are generated for each mission model. You can get the full list of activity templates by typing ActivityTemplates. (note the period) into the scheduling goal editor, and viewing the auto-complete options.

If the activity has parameters, pass them into the constructor in a dictionary as key-value pairs (i.e. ActivityTemplate.ParamActivity({ param:1 })). If the activity has no parameters, do not pass a dictionary (i.e. ActivityTemplate.ParameterlessActivity()).

Type Parameters

Hierarchy

  • ActivityTemplate<A>
    • ActivityTemplate

Properties

Properties

activityType: A

Generated using TypeDoc