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