quic/qbox
Loading...
Searching...
No Matches
keep_alive.h
1/*
2 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
11#ifndef _GS_KEEP_ALIVE_H_
12#define _GS_KEEP_ALIVE_H_
13
14#include <systemc>
15#include <async_event.h>
16#include <scp/report.h>
17#include <module_factory_registery.h>
18
19class keep_alive : public sc_core::sc_module
20{
21 SCP_LOGGER();
22
23public:
24 gs::async_event keep_alive_event;
25
26 keep_alive(sc_core::sc_module_name name): sc_core::sc_module(name)
27 {
28 SCP_DEBUG(()) << "keep_alive: Constructor";
29 keep_alive_event.async_attach_suspending();
30 }
31 ~keep_alive() {}
32};
33
34extern "C" void module_register();
35
36#endif
Definition target.h:160
Definition async_event.h:22
Definition keep_alive.h:20