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

#include <PythonInterpreter.hpp>

Public Member Functions

 Function (ModuleState &module, const std::string &name)
 
Functionpass (CppType type)
 
Functioncall (...)
 
shared_ptr< ObjectreturnObject ()
 

Public Attributes

shared_ptr< FunctionStatestate
 

Detailed Description

Definition at line 88 of file PythonInterpreter.hpp.

Constructor & Destructor Documentation

◆ Function()

mars::Function::Function ( ModuleState module,
const std::string &  name 
)

Definition at line 483 of file PythonInterpreter.cpp.

Member Function Documentation

◆ call()

Function & mars::Function::call (   ...)

Definition at line 497 of file PythonInterpreter.cpp.

◆ pass()

Function & mars::Function::pass ( CppType  type)

Definition at line 491 of file PythonInterpreter.cpp.

◆ returnObject()

shared_ptr< Object > mars::Function::returnObject ( )

Definition at line 534 of file PythonInterpreter.cpp.

Member Data Documentation

◆ state

shared_ptr<FunctionState> mars::Function::state

Definition at line 91 of file PythonInterpreter.hpp.


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