Open CASCADE Technology  7.4.0
Public Types | Public Member Functions | Data Fields

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 >:
Inheritance graph
[legend]

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. More...
 
- Public Member Functions inherited from Draw_Interpretor::CallBackData
 CallBackData (Draw_Interpretor *theDI)
 Main constructor. More...
 
virtual ~CallBackData ()
 Destructor. More...
 

Data Fields

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

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 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: