Skip to content

santa01/signals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++11 based signal-slot implementation

Latest version of the signals is available at:
https://github.com/santa01/signals

Signals project is header only C++ library to be used wherever observer-alike
pattern is required. Signals utilizes C++11 std::function template for
callable targets wrapping.

The Example.cpp may be compiled as:
$ g++ -std=c++11 -Wall -pedantic -O2 -I. Example.cpp -o example
$ ./example
Object::getId(6): this->id = 1
Object::getId(6): this->id = 2
Object::getId(6): this->id = 3
Object::getId(7): this->id = 2
Object::getId(7): this->id = 3
Object::updateId(4, 3): this->id = 5

If you are interested in this signal-slot implementation, you can contact me
via santa.ssh@gmail.com

Source code is licensed under MIT license, see COPYING for details.

About

C++11 signal-slot implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published