SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics_adapter_interface.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2020 Intel Corporation
5
6 This software and the related documents are Intel copyrighted materials, and
7 your use of them is governed by the express license under which they were
8 provided to you ("License"). Unless the License provides otherwise, you may
9 not use, modify, copy, publish, distribute, disclose or transmit this software
10 or the related documents without Intel's prior written permission.
11
12 This software and the related documents are provided as is, with no express or
13 implied warranties, other than those that are expressly stated in the License.
14*/
15
16#ifndef SIMICS_SYSTEMC_IFACE_SIMICS_ADAPTER_INTERFACE_H
17#define SIMICS_SYSTEMC_IFACE_SIMICS_ADAPTER_INTERFACE_H
18
19#include <simics/base/conf-object.h>
21
22#include <string>
23#include <vector>
24
25namespace simics {
26namespace systemc {
27namespace iface {
28
30 public:
32 virtual void set_simics_class(conf_class_t *conf_class) = 0;
33 virtual conf_class_t *simics_class() const = 0;
34 virtual void set_map_adapter(bool map) = 0;
35 virtual bool map_adapter() const = 0;
36 virtual std::vector<std::string> description(conf_object_t *obj,
37 DescriptionType type) {
38 return {};
39 }
40};
41
42} // namespace iface
43} // namespace systemc
44} // namespace simics
45
46#endif
Definition: simics_adapter_interface.h:29
virtual ~SimicsAdapterInterface()
Definition: simics_adapter_interface.h:31
virtual conf_class_t * simics_class() const =0
virtual void set_simics_class(conf_class_t *conf_class)=0
virtual std::vector< std::string > description(conf_object_t *obj, DescriptionType type)
Definition: simics_adapter_interface.h:36
DescriptionType
Definition: description_interface.h:25
Definition: pci_bus_interface.h:24