typesafe callback system

This is a discussion on typesafe callback system within the C++ Programming forums, part of the General Programming Boards category; I make GUI programs in C++ with gtkmm library. http://www.gtkmm.org Btw, this library use typesafe callback system for standard C++, ...

  1. #1
    Registered User gandalf_bar's Avatar
    Join Date
    Oct 2003
    Posts
    92

    Smile typesafe callback system

    I make GUI programs in C++ with gtkmm library. http://www.gtkmm.org
    Btw, this library use typesafe callback system for standard C++, that is
    http://libsigc.sourceforge.net
    The explanation is like this:
    libsigc++ implements a typesafe callback system for standard C++. It allows you to define signals and to connect those signals to any callback function, either global or a member function, regardless of whether it is static or virtual.

    It also contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries.

    However I still don't get it. Can you explain this complicated things to newbie like me???? What is actually typesafe callback things? It would be great if you provide simple example.....

    Thank you............
    A man asked, "Who are you?"
    Buddha answered, "I am awaked."

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    This page of the libsigc++ tutorial should help out.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Flexible callback system
    By C+/- in forum C++ Programming
    Replies: 9
    Last Post: 06-21-2007, 05:24 AM
  2. Using system icons
    By @nthony in forum Windows Programming
    Replies: 1
    Last Post: 01-13-2007, 07:56 PM
  3. Linux database system needed
    By BobS0327 in forum Tech Board
    Replies: 7
    Last Post: 06-11-2006, 04:56 PM
  4. measuring system resources used by a function
    By Aran in forum C Programming
    Replies: 1
    Last Post: 03-13-2006, 05:35 PM
  5. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 07:12 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21