OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::PythonServiceInterface Class Reference

#include "PythonServiceInterface.h"

Public Types

using scriptParameter = std::optional<std::list<ot::Variable>>
 

Public Member Functions

 PythonServiceInterface (const std::string &pythonExecutionServiceURL)
 
void AddScriptWithParameter (const std::string &scriptName, const scriptParameter &scriptParameter)
 
void AddPortData (const std::string &portName, const ot::GenericDataStructList &data)
 
ot::ReturnMessage SendExecutionOrder ()
 
ot::ReturnMessage SendSingleExecutionCommand (const std::string &command)
 

Member Typedef Documentation

◆ scriptParameter

using ot::PythonServiceInterface::scriptParameter = std::optional<std::list<ot::Variable>>

Constructor & Destructor Documentation

◆ PythonServiceInterface()

ot::PythonServiceInterface::PythonServiceInterface ( const std::string & pythonExecutionServiceURL)

Member Function Documentation

◆ AddPortData()

void ot::PythonServiceInterface::AddPortData ( const std::string & portName,
const ot::GenericDataStructList & data )

◆ AddScriptWithParameter()

void ot::PythonServiceInterface::AddScriptWithParameter ( const std::string & scriptName,
const scriptParameter & scriptParameter )

◆ SendExecutionOrder()

ot::ReturnMessage ot::PythonServiceInterface::SendExecutionOrder ( )

◆ SendSingleExecutionCommand()

ot::ReturnMessage ot::PythonServiceInterface::SendSingleExecutionCommand ( const std::string & command)

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