Open CASCADE Technology 7.8.2.dev
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 Standard_Integer(element_type::*) methodType(Draw_Interpretor &, Standard_Integer, const char **)
 

Public Member Functions

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

Data Fields

theObjHandle myObjPtr
 
methodType myMethod
 
- Data Fields inherited from Draw_Interpretor::CallBackData
Draw_InterpretormyDI
 pointer to Draw Interpretor
 

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 >
theObjHandle::element_type Draw_Interpretor::CallBackDataMethod< theObjHandle >::element_type

◆ methodType

template<typename theObjHandle >
Standard_Integer(element_type::*) Draw_Interpretor::CallBackDataMethod< theObjHandle >::methodType(Draw_Interpretor &, Standard_Integer, 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 >
virtual Standard_Integer Draw_Interpretor::CallBackDataMethod< theObjHandle >::Invoke ( Draw_Interpretor & theDI,
Standard_Integer theArgNb,
const char ** theArgVec )
inlinevirtual

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: