Thread: typesafe callback system

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

    Smile typesafe callback system

    I make GUI programs in C++ with gtkmm library.
    Btw, this library use typesafe callback system for standard C++, that is
    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
    Join Date
    Jan 2002
    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, 04: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, 03: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