1 #ifndef SIPLASPLAS_EXAMPLES_SIGNALS_FOOBAR_HPP 2 #define SIPLASPLAS_EXAMPLES_SIGNALS_FOOBAR_HPP 4 #include <siplasplas/signals/emitter.hpp> 11 void signal2(
int integer){}
13 void slot(
int integer)
15 std::cout << CTTI_TYPE_ID_PRETTY_FUNCTION <<
": " << integer <<
" (this=@" <<
this <<
")\n";
24 std::cout <<
"Hello from Bar! (this=@" <<
this <<
", i=" << i <<
")\n";
28 #include <reflection/examples/signals/foobar.hpp> 30 #endif // SIPLASPLAS_EXAMPLES_SIGNALS_FOOBAR_HPP
Class that can send and receive signals from other emitters.
Definition: emitter.hpp:64
Definition: foobar.hpp:19