|
From: Frank V. C. <fr...@us...> - 2000-11-03 13:29:46
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv4310/clfw Modified Files: MetaType.hpp Log Message: 119868 Release 0.2.4 prep Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** MetaType.hpp 2000/10/30 05:01:25 1.19 --- MetaType.hpp 2000/11/03 13:29:44 1.20 *************** *** 364,367 **** --- 364,383 ---- className##Ptr myPointer = className::castDown( aClass ); + /*! + \def DISPATCH_FUNCTION( className, methName ) + \brief Opens the standard header, body required to do something + \arg className : base name for method + \arg methName : unique name identifier + */ + + #define DISPATCH_STATIC_FUNCTION( className, methName ) \ + static void className##methName \ + ( \ + corelinux::FrameworkEntityPtr aClass, \ + void **args, \ + void *ret \ + ) \ + { + #define CLOSE_DISPATH_FUNCTION \ } *************** *** 971,974 **** --- 987,1003 ---- void dispatch( FrameworkEntityPtr, char *, void **, void * ) + throw( NullPointerException, DescriptorNotFound ); + + /** + Attempts to call the method via a dispatch function on + the object + @param char pointer to the named method (used for lookup) + @param void pointer array of arguments + @param void pointer to return value + @exception NullpointerException if object or name are null + @exception DescriptorNotFound if no match + */ + + void dispatch( char *, void **, void * ) throw( NullPointerException, DescriptorNotFound ); //@} |