generate_template#
- omni.graph.tools.ogn.generate_template(
- configuration: GeneratorConfiguration,
Create support files for the C++ interface to a node
For now only a header file is generated for the C++ interface, though there will probably be multiple files generated in the future. For that reason this single point of contact was created for outside callers.
- Parameters:
configuration – Information defining how and where the template will be generated
- Returns:
String containing the generated template class definition or None if its generation was not enabled
- Raises:
NodeGenerationError – When there is a failure in the generation of the header
UnimplementedError – When the language of the node does not support template generation