Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
Draw_Interpretor::CallBackDataMethod< theObjHandle > Struct Template Reference

Callback implementation for class's method definition. More...

#include <Draw_Interpretor.hxx>

Inheritance diagram for Draw_Interpretor::CallBackDataMethod< theObjHandle >:

Public Types

typedef theObjHandle::element_type element_type
typedef int(element_type::* methodType) (Draw_Interpretor &, int, const char **)

Public Member Functions

 CallBackDataMethod (Draw_Interpretor *theDI, const theObjHandle &theObjPtr, methodType theMethod)
int Invoke (Draw_Interpretor &theDI, int theArgNb, const char **theArgVec) override
 Invoke function.
Public Member Functions inherited from Draw_Interpretor::CallBackData
 CallBackData (Draw_Interpretor *theDI)
 Main constructor.
virtual ~CallBackData ()=default
 Destructor.

Data Fields

theObjHandle myObjPtr
methodType myMethod
Data Fields inherited from Draw_Interpretor::CallBackData
Draw_Interpretor * myDI
 pointer to Draw Interpreter

Detailed Description

template<typename theObjHandle>
struct Draw_Interpretor::CallBackDataMethod< theObjHandle >

Callback implementation for class's method definition.

Member Typedef Documentation

◆ element_type

template<typename theObjHandle>
typedef theObjHandle::element_type Draw_Interpretor::CallBackDataMethod< theObjHandle >::element_type

◆ methodType

template<typename theObjHandle>
typedef int(element_type::* Draw_Interpretor::CallBackDataMethod< theObjHandle >::methodType) (Draw_Interpretor &, int, const char **)

Constructor & Destructor Documentation

◆ CallBackDataMethod()

template<typename theObjHandle>
Draw_Interpretor::CallBackDataMethod< theObjHandle >::CallBackDataMethod ( Draw_Interpretor * theDI,
const theObjHandle & theObjPtr,
methodType theMethod )
inline

Member Function Documentation

◆ Invoke()

template<typename theObjHandle>
int Draw_Interpretor::CallBackDataMethod< theObjHandle >::Invoke ( Draw_Interpretor & theDI,
int theArgNb,
const char ** theArgVec )
inlineoverridevirtual

Invoke function.

Implements Draw_Interpretor::CallBackData.

Field Documentation

◆ myMethod

template<typename theObjHandle>
methodType Draw_Interpretor::CallBackDataMethod< theObjHandle >::myMethod

◆ myObjPtr

template<typename theObjHandle>
theObjHandle Draw_Interpretor::CallBackDataMethod< theObjHandle >::myObjPtr

The documentation for this struct was generated from the following file: