quic/qbox
Loading...
Searching...
No Matches
systemc-components
keep_alive
include
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
19
class
keep_alive
:
public
sc_core::sc_module
20
{
21
SCP_LOGGER();
22
23
public
:
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
34
extern
"C"
void
module_register();
35
36
#endif
QemuTargetSocket
Definition
target.h:160
gs::async_event
Definition
async_event.h:22
keep_alive
Definition
keep_alive.h:20
Generated by
1.9.8