ANN: C++ Signal/Slot library that can work within MFC classes 
Author Message
 ANN: C++ Signal/Slot library that can work within MFC classes

SIGSLOT

The sigslot library is a portable, type-safe, thread-safe
implementation of the signal/slot paradigm written entirely as a C++
template library. No preprocessor (a la Qt's 'moc' utility) is
required.

The library can coexist with other C++ libraries, notably the
Microsoft Foundation Classes (MFC), adding Qt-like functionality to
any suitably instrumented classes.

COMPILERS

VC++ 6.0, VC++ 7.0, Intel C++ 5.01, gcc 2.9x

The library should work fine with any reasonably standards compliant
C++ compiler that supports the STL and templates with optional
template parameters. Partial template specialisation is NOT required.

PLATFORMS

Win32, Posix Threads, ISO C++ (e.g. Win 95, 98, ME, 2000, XP, NT3.51,
NT4.0, Linux, OpenBSD, FreeBSD, etc.)

PROJECT WEB SITE

    Documentation: http://www.*-*-*.com/

    Downloads, etc: http://www.*-*-*.com/

LICENSE

Sigslot is entirely public domain, i.e. free for use for any purpose
by anyone. No strings attached.

EXAMPLE

The sigslot library allows code like the following to be written in
C++:

----
    class Switch
    {
    public:
        signal0<> Clicked;
    };

    class Light : public has_slots<>
    {
    public:
        void ToggleState();
        void TurnOn();
        void TurnOff();
    };

    Switch sw1, sw2;
    Light lp1, lp2;

    sw1.Clicked.connect(&lp1, &Light::ToggleState);
    sw2.Clicked.connect(&lp2, &Light::ToggleState);

    sw1.Clicked();
----

AUTHOR




Fri, 17 Sep 2004 06:54:28 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ANN: sigslot - C++ Portable, Thread-Safe, Type-Safe Signal/Slot Library

2. A Thread class that supports MFC as well as C/C++ runtime-library functions

3. MFC class able to implement the standard C++ library iostream functionalities in a scrolled window

4. C/C++ libraries for signal processing

5. C++ Class used within C# (Char[] in C++)

6. ANN: C++ Str Library updated to 2.1.2

7. ANN: C++ Str Library updated to 2.1.2

8. ANN: Last chance to join 100s of MFC/C++ developers in the Ultimate Gold Rush

9. debugging unmanaged c++ from a managed c++ class library

10. Using C++ library within C code

11. NYC C++ mtg 9/7/95 Building a C++ Class Library

 

 
Powered by phpBB® Forum Software