Privacy
An open-source, flexible 3D physical simulation framework
mars::Module Class Reference

#include <PythonInterpreter.hpp>

Public Member Functions

 Module (const std::string &name)
 
Functionfunction (const std::string &name)
 
Objectvariable (const std::string &name)
 
void reload ()
 

Public Attributes

shared_ptr< ModuleStatestate
 

Detailed Description

Definition at line 110 of file PythonInterpreter.hpp.

Constructor & Destructor Documentation

◆ Module()

mars::Module::Module ( const std::string &  name)

Definition at line 612 of file PythonInterpreter.cpp.

Member Function Documentation

◆ function()

Function & mars::Module::function ( const std::string &  name)

Definition at line 625 of file PythonInterpreter.cpp.

◆ reload()

void mars::Module::reload ( )

Definition at line 619 of file PythonInterpreter.cpp.

◆ variable()

Object & mars::Module::variable ( const std::string &  name)

Definition at line 631 of file PythonInterpreter.cpp.

Member Data Documentation

◆ state

shared_ptr<ModuleState> mars::Module::state

Definition at line 113 of file PythonInterpreter.hpp.


The documentation for this class was generated from the following files: