Before i posted to the List, i already managed too bind the Non-Member
Functions to the Handler (e.g. ecore_event_handler_add)
int Test( void *d, int t, void *e ) { return 0; }
ecore_event_handler_add( ECORE_IPC_EVENT_SERVER_DEL, Test, NULL );
I think it's the same in Factory.*.
My Problem is,
For an example of implementation of callbacks with boost:
http://cvs.sourceforge.net/viewcvs.py/avisynth2/avisynth/src/filters/source/gstreamer/?only_with_tag=avisynth_3_0
look at factory.*
Vincent
On Mon, 1 Aug 2005, Carsten Haitzler wrote:
On Sun, 31 Jul 2005 22:08:37 +0200 Der Lockruf
Can't you wrap ecore objects with a boost::smart_ptr ? I use the smart_ptr
to wrap objects of the Gstreamer library without any problem. After that,
I think it is not difficult to use the C++ stuff of boost. For examples,
maybe you can have a look there:
Hi all,
I have a Problem with C++ Member Functions and Pointers to this Member
Functions so that they fit into a Function with take a normal Function.
I guess i'm a Newbie, otherwise i should have already solved it, i think. ;)
I want to use IPC Stuff from Ecore. But before you can make use of
ecore_* takes a pointer to a function whereas boost::bind returns an
object (that can be used as a function by operator overloading). to use
a member function you need both a pointer to an object instance and a
pointer to the function, which boost::bind wraps up in an object, but
which the efl
ecore_* takes a pointer to a function whereas boost::bind returns an
object (that can be used as a function by operator overloading). to use
a member function you need both a pointer to an object instance and a
pointer to the function, which boost::bind wraps up in an object, but
which
On Sun, 31 Jul 2005 22:08:37 +0200 Der Lockruf des Kaos
[EMAIL PROTECTED] babbled:
ecore_* takes a pointer to a function whereas boost::bind returns an
object (that can be used as a function by operator overloading). to use
a member function you need both a pointer to an object instance
i'm not sure how you mean to use a smart_ptr - maybe we're talking about
different things here? a smart_ptr is also an object and can't be passed
to a function expecting a function pointer.
as for the example, i'm guessing you mean the SignalHandler class? i
don't really see the point of that