HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PY_Callback Class Reference

#include <PY_Callback.h>

+ Inheritance diagram for PY_Callback:

Public Member Functions

 PY_Callback (void *python_callable_object)
 
 PY_Callback (const PY_Callback &callback)
 
PY_Callbackoperator= (const PY_Callback &callback)
 
void call (PY_Result &result, const char *args_expression=NULL, const char *kwargs_expression=NULL) const
 
PY_Result call (const char *args_expression=NULL, const char *kwargs_expression=NULL) const
 
PY_Result call (const char *args_expression, const char *kwargs_expression, PY_Result::Type desired_result_type) const
 
template<typename FUNC >
PY_Result call (const char *args_expression, const char *kwargs_expression, const char *module_name, PY_Result::Type desired_result_type, PY_PyObject *&out_args, PY_PyObject *&out_kwargs, FUNC const &fill_evaluated_expressions) const
 
- Public Member Functions inherited from PY_OpaqueObject
 PY_OpaqueObject (void *opaque_py_object=NULL)
 
 ~PY_OpaqueObject ()
 
 PY_OpaqueObject (const PY_OpaqueObject &opaque_object)
 
PY_OpaqueObjectoperator= (const PY_OpaqueObject &opaque_object)
 
voidopaqueObject () const
 
bool operator== (const PY_OpaqueObject &opaque_object) const
 
bool operator!= (const PY_OpaqueObject &opaque_object) const
 
bool equalsOpaqueObject (void *opaque_py_object) const
 

Detailed Description

Definition at line 22 of file PY_Callback.h.

Constructor & Destructor Documentation

PY_Callback::PY_Callback ( void python_callable_object)
inline

Definition at line 27 of file PY_Callback.h.

PY_Callback::PY_Callback ( const PY_Callback callback)
inline

Definition at line 31 of file PY_Callback.h.

Member Function Documentation

void PY_Callback::call ( PY_Result result,
const char *  args_expression = NULL,
const char *  kwargs_expression = NULL 
) const
PY_Result PY_Callback::call ( const char *  args_expression = NULL,
const char *  kwargs_expression = NULL 
) const
inline

Definition at line 49 of file PY_Callback.h.

PY_Result PY_Callback::call ( const char *  args_expression,
const char *  kwargs_expression,
PY_Result::Type  desired_result_type 
) const
template<typename FUNC >
PY_Result PY_Callback::call ( const char *  args_expression,
const char *  kwargs_expression,
const char *  module_name,
PY_Result::Type  desired_result_type,
PY_PyObject *&  out_args,
PY_PyObject *&  out_kwargs,
FUNC const fill_evaluated_expressions 
) const
inline

Definition at line 69 of file PY_Callback.h.

PY_Callback& PY_Callback::operator= ( const PY_Callback callback)
inline

Definition at line 35 of file PY_Callback.h.


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