Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

FakeDelegate.hh File Reference


Detailed Description

Header file for fake C++ delegates.

Definition in file FakeDelegate.hh.

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  FakeDelegate
 Abstract class for fake C++ delegates that work with the rk_stub library. More...

Functions

rk_stub_precall_retval_t cxx_delegate_precall (void *obj)
 Callback for rk_stub_mk_pid that will cast the parameter to a Delegate object and call Delegate::precall().
void cxx_delegate_postcall (void *obj)
 Callback for rk_stub_mk_pid that will cast the parameter to a Delegate object and call Delegate::postcall().


Function Documentation

void cxx_delegate_postcall void *  obj  ) 
 

Callback for rk_stub_mk_pid that will cast the parameter to a Delegate object and call Delegate::postcall().

Typically, this function would be passed as the postcall argument to rk_stub_mk_pid().

Parameters:
obj The Delegate object.

Definition at line 47 of file FakeDelegate.cc.

References FakeDelegate::postcall(), and require.

Here is the call graph for this function:

rk_stub_precall_retval_t cxx_delegate_precall void *  obj  ) 
 

Callback for rk_stub_mk_pid that will cast the parameter to a Delegate object and call Delegate::precall().

Typically, this function would be passed as the precall argument to rk_stub_mk_pid().

Parameters:
obj The Delegate object.
Returns:
The result of Delegate::precall().

Definition at line 36 of file FakeDelegate.cc.

References FakeDelegate::precall(), require, and rk_stub_precall_retval_t.

Here is the call graph for this function:


Generated on Fri Oct 22 07:50:33 2004 for CPU Broker by  doxygen 1.3.9.1