OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
PythonWrapper Class Reference

#include "PythonWrapper.h"

Public Member Functions

 PythonWrapper ()
 
 PythonWrapper (const PythonWrapper &other)=delete
 
PythonWrapperoperator= (const PythonWrapper &other)=delete
 
 PythonWrapper (const PythonWrapper &&other)=delete
 
PythonWrapperoperator= (const PythonWrapper &&other)=delete
 
 ~PythonWrapper ()
 
void InitializePythonInterpreter ()
 
void ResetSysPath ()
 
void AddToSysPath (const std::string &newPathComponent)
 
void ClosePythonInterpreter ()
 
CPythonObjectNew execute (const std::string &_executionCommand, const std::string &_moduleName="__main__")
 
CPythonObjectNew ExecuteFunction (const std::string &functionName, CPythonObject &parameter, const std::string &moduleName="__main__")
 
CPythonObjectBorrowed GetGlobalVariable (const std::string &varName, const std::string &moduleName)
 
CPythonObjectBorrowed GetGlobalDictionary (const std::string &moduleName)
 
CPythonObjectNew GetFunction (const std::string &functionName, const std::string &moduleName="__main__")
 

Friends

class FixturePythonWrapper
 

Constructor & Destructor Documentation

◆ PythonWrapper() [1/3]

PythonWrapper::PythonWrapper ( )

◆ PythonWrapper() [2/3]

PythonWrapper::PythonWrapper ( const PythonWrapper & other)
delete

◆ PythonWrapper() [3/3]

PythonWrapper::PythonWrapper ( const PythonWrapper && other)
delete

◆ ~PythonWrapper()

PythonWrapper::~PythonWrapper ( )

Member Function Documentation

◆ AddToSysPath()

void PythonWrapper::AddToSysPath ( const std::string & newPathComponent)

◆ ClosePythonInterpreter()

void PythonWrapper::ClosePythonInterpreter ( )

◆ execute()

CPythonObjectNew PythonWrapper::execute ( const std::string & _executionCommand,
const std::string & _moduleName = "__main__" )

◆ ExecuteFunction()

CPythonObjectNew PythonWrapper::ExecuteFunction ( const std::string & functionName,
CPythonObject & parameter,
const std::string & moduleName = "__main__" )

◆ GetFunction()

CPythonObjectNew PythonWrapper::GetFunction ( const std::string & functionName,
const std::string & moduleName = "__main__" )

◆ GetGlobalDictionary()

CPythonObjectBorrowed PythonWrapper::GetGlobalDictionary ( const std::string & moduleName)

◆ GetGlobalVariable()

CPythonObjectBorrowed PythonWrapper::GetGlobalVariable ( const std::string & varName,
const std::string & moduleName )

◆ InitializePythonInterpreter()

void PythonWrapper::InitializePythonInterpreter ( )

◆ operator=() [1/2]

PythonWrapper & PythonWrapper::operator= ( const PythonWrapper && other)
delete

◆ operator=() [2/2]

PythonWrapper & PythonWrapper::operator= ( const PythonWrapper & other)
delete

◆ ResetSysPath()

void PythonWrapper::ResetSysPath ( )

Friends And Related Symbol Documentation

◆ FixturePythonWrapper

friend class FixturePythonWrapper
friend

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