API Examples and Methods

The GenRocket runtime application interface allows programmers to access the GenRocket runtime directly create scenarios from their own programs.

API Method DomainAdd
Description This method is used to add a Domain to a Scenario. The following actions will also be implemented on the creation of a new Domain: Automatica...
Sun, 12 Mar, 2023 at 2:44 PM
API Method DomainSetLoopCount
Description This method is used to set a Domain's loopCount.  Exceptions The following GenRocket exceptions may be thrown by this method:   If t...
Wed, 18 Dec, 2019 at 7:47 AM
API Method DomainRemove
Description This method is used to remove a Domain from a Scenario. Exceptions The following GenRocket exceptions may be thrown by this method:   I...
Mon, 20 Feb, 2017 at 3:57 AM
API Method DomainsRemove
Description This method is used to remove all Domains from a Scenario. Exceptions The following GenRocket exceptions may be thrown by this method:   ...
Mon, 20 Feb, 2017 at 3:57 AM
API Method DomainParameterGet
Description This method returns the value of a given domain parameter. Exceptions The following GenRocket exceptions may be thrown by this method:   ...
Mon, 2 Jan, 2017 at 11:32 AM
API Method DomainParameterSet
Description This method sets the value of a given Domain parameter. Exceptions The following GenRocket exceptions may be thrown by this method:   If...
Wed, 31 Oct, 2018 at 9:07 AM
API Method DomainParentAdd
Description This method adds a Domain as a parent to a given Domain. Exceptions The following GenRocket exceptions may be thrown by this method:   ...
Mon, 20 Feb, 2017 at 3:58 AM
API Method DomainParentRemove
Description This method removes a Domain as a parent from a given Domain. Exceptions The following GenRocket exceptions may be thrown by this method: ...
Mon, 20 Feb, 2017 at 3:58 AM
API Method DomainParent
Description This method returns the name of the parent Domain for the given Domain or null if the given Domain has no parent Domain. Exceptions The fo...
Tue, 7 Feb, 2017 at 11:36 PM
API Method DomainRename
Description This method renames the current name of a Domain. Exceptions The following GenRocket exceptions may be thrown by this method:   If the r...
Wed, 31 Oct, 2018 at 9:06 AM