|
| void | add_sigint_handler (Handler_CB s_cb) |
| | Add a SIGINT handler with the specified callback type.
|
| |
|
template<typename CONT_TYPE > |
| void | register_cb (const std::string &name, std::unordered_map< std::string, std::function< CONT_TYPE > > &container, const std::function< CONT_TYPE > &cb, const std::string &type_of_cb) |
| |
|
template<typename CONT_TYPE > |
| void | deregister_cb (const std::string &name, std::unordered_map< std::string, std::function< CONT_TYPE > > &container, const std::string &type_of_cb) |
| |
|
void | register_on_exit_cb (const std::string &name, const std::function< void()> &cb) |
| |
|
void | deregister_on_exit_cb (const std::string &name) |
| |
|
void | register_handler (const std::string &name, const std::function< void(int)> &handler) |
| |
|
void | deregister_handler (const std::string &name) |
| |
|
void | end_of_simulation () |
| |
|
void | set_sig_num (int val) |
| |
|
void | add_to_block_set (int signum) |
| |
|
void | reset_block_set () |
| |
|
void | block_signal_set () |
| |
| void | add_sigchld_handler (Handler_CB s_cb) |
| | Add a SIGCHLD handler with the specified callback type.
|
| |
| void | set_nosig_chld_stop () |
| |
| void | block_curr_handled_signals () |
| |
|
int | get_write_sock_end () |
| |
|
void | mark_error_signal (int signum, std::string error_msg) |
| |
◆ add_sigchld_handler()
| void gs::SigHandler::add_sigchld_handler |
( |
Handler_CB |
s_cb | ) |
|
Add a SIGCHLD handler with the specified callback type.
- Parameters
-
| s_cb | Handler callback type. |
◆ add_sigint_handler()
| void gs::SigHandler::add_sigint_handler |
( |
Handler_CB |
s_cb | ) |
|
Add a SIGINT handler with the specified callback type.
- Parameters
-
| s_cb | Handler callback type. |
◆ block_curr_handled_signals()
| void gs::SigHandler::block_curr_handled_signals |
( |
| ) |
|
Block all the signals previously added to the class instance by default in the class constructor or by calling add_sig_handler(). All signals added to the block list previously using add_to_block_set() will be removed first.
◆ set_nosig_chld_stop()
| void gs::SigHandler::set_nosig_chld_stop |
( |
| ) |
|
SIGCHLD will not be sent when child stopped or continued, it will be sent only when killed.
The documentation for this class was generated from the following files:
- systemc-components/common/include/uutils.h
- systemc-components/common/src/uutils.cc