gsystem
Loading...
Searching...
No Matches
gsystem Namespace Reference

Functions

SystemList getSystems (const std::shared_ptr< GOptions > &gopts)
 Build a list of systems from options.
 
std::vector< GModifiergetModifiers (const std::shared_ptr< GOptions > &gopts)
 Build a list of volume modifiers from options.
 
GOptions defineOptions ()
 Define and return all option groups required by the gsystem module.
 

Function Documentation

◆ defineOptions()

GOptions gsystem::defineOptions ( )
Returns
A fully populated GOptions instance containing logger groups and module-specific options.

Definition at line 72 of file gsystem_options.cc.

◆ getModifiers()

std::vector< GModifier > gsystem::getModifiers ( const std::shared_ptr< GOptions > & gopts)
Parameters
goptsShared options/configuration instance.
Returns
List of modifiers to apply during world construction.

This reads the "gmodifier" option node and converts each entry into a GModifier.

Definition at line 54 of file gsystem_options.cc.

◆ getSystems()

SystemList gsystem::getSystems ( const std::shared_ptr< GOptions > & gopts)
Parameters
goptsShared options/configuration instance.
Returns
List of system descriptors to be loaded into a world.

This reads the "gsystem" option node. For each entry it extracts:

  • name (mandatory)
  • factory (default: sqlite)
  • variation (default: "default")
  • annotations (default: UNINITIALIZEDSTRINGQUANTITY)

Definition at line 18 of file gsystem_options.cc.