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

#include <PythonInterpreter.hpp>

Public Member Functions

 Method (ObjectState &object, const std::string &name)
 
Methodpass (CppType type)
 
Methodcall (...)
 
shared_ptr< ObjectreturnObject ()
 

Public Attributes

shared_ptr< MethodStatestate
 

Detailed Description

Definition at line 99 of file PythonInterpreter.hpp.

Constructor & Destructor Documentation

◆ Method()

mars::Method::Method ( ObjectState object,
const std::string &  name 
)

Definition at line 543 of file PythonInterpreter.cpp.

Member Function Documentation

◆ call()

Method & mars::Method::call (   ...)

Definition at line 557 of file PythonInterpreter.cpp.

◆ pass()

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

Definition at line 551 of file PythonInterpreter.cpp.

◆ returnObject()

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

Definition at line 603 of file PythonInterpreter.cpp.

Member Data Documentation

◆ state

shared_ptr<MethodState> mars::Method::state

Definition at line 102 of file PythonInterpreter.hpp.


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