quic/qbox
Loading...
Searching...
No Matches
systemc-components
common
include
tlm-extensions
pathid_extension.h
1
/*
2
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
3
* Author: GreenSocs 2022
4
*
5
* SPDX-License-Identifier: BSD-3-Clause
6
*/
7
8
#ifndef _GREENSOCS_PATHID_EXTENSION_H
9
#define _GREENSOCS_PATHID_EXTENSION_H
10
11
#include <systemc>
12
#include <tlm>
13
14
namespace
gs
{
15
25
class
PathIDExtension
:
public
tlm::tlm_extension<PathIDExtension>,
public
std::vector<int>
26
{
27
public
:
28
PathIDExtension
() =
default
;
29
PathIDExtension
(
const
PathIDExtension
&) =
default
;
30
31
public
:
32
virtual
tlm_extension_base
* clone()
const override
{
return
new
PathIDExtension
(*
this
); }
33
34
virtual
void
copy_from(
const
tlm_extension_base
&
ext
)
override
35
{
36
const
PathIDExtension
&
other
=
static_cast<
const
PathIDExtension
&
>
(
ext
);
37
*
this
=
other
;
38
}
39
};
40
}
// namespace gs
41
#endif
QemuTargetSocket
Definition
target.h:160
gs::PathIDExtension
Definition
pathid_extension.h:26
gs
Tool which reads a Lua configuration file and sets parameters.
Definition
biflow.cc:10
Generated by
1.9.8