sigc++ compatible with wxWidgets (sigslot compile errors)
Pavel Nikitenko
pavn at centrum.cz
Fri Feb 15 23:47:50 PST 2008
> I finally tested it out but get plenty of compile errors even when
> just including sigslot.h, even when using pure iso. Boost signals and
> libsigc++ are very capable but are an external dependency and not easy
> to convert to a simple drop-in. Anyway sigslot doesn't have all the
> features I want so I'm working on my own which will be similar (1
> header file and 1 source file) easy drop-in to project but will have
> some extra features like support to connect a signal to a global
> function and to disconnect a single specific connection, etc. It's
> currently nearly complete for 0 arguments and I may use some M4 to
> simplify creating multi-argument support.
I use sigc++ in my wxWidget project without problem. And think this is
very quality library.
Also you can simply create this way simple event mechanism for your own
purposes also with compare to wxWidgets events (without using IDs).
Pavel
Brian Vanderburg II wrote:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">I finally
> tested it out but get plenty of compile errors even when just
> including sigslot.h, even when using pure iso. Boost signals and
> libsigc++ are very capable but are an external dependency and not easy
> to convert to a simple drop-in. Anyway sigslot doesn't have all the
> features I want so I'm working on my own which will be similar (1
> header file and 1 source file) easy drop-in to project but will have
> some extra features like support to connect a signal to a global
> function and to disconnect a single specific connection, etc. It's
> currently nearly complete for 0 arguments and I may use some M4 to
> simplify creating multi-argument support.
>
> Brian Vanderburg II
>
> Bob wrote:
>>
>>
>> On 1/5/08, *Brian Vanderburg II* <BrianVanderburg2 at aim.com
>> <mailto:BrianVanderburg2 at aim.com>> wrote:
>>
>> After some review and testing of code relating to some previous
>> questions about client-observer modal, I found this library called
>> sigc++.
>>
>>
>>
>> There is also:
>>
>> sigslot - C++ Signal/Slot Library at http://sigslot.sourceforge.net/ .
>>
>>
>
> </div>
More information about the wx-users
mailing list