SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
instance_attributes.h
Go to the documentation of this file.
1/*
2 © 2014 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_AWARENESS_INSTANCE_ATTRIBUTES_H
15#define SIMICS_SYSTEMC_AWARENESS_INSTANCE_ATTRIBUTES_H
16
18#include <systemc>
19#include <string>
20
21namespace simics {
22namespace systemc {
23namespace awareness {
24
26 public:
27 std::string name(sc_core::sc_object *object) const override {
28 return object->name();
29 }
30 std::string basename(sc_core::sc_object *object) const override {
31 return object->basename();
32 }
33};
34
35} // namespace awareness
36} // namespace systemc
37} // namespace simics
38
39#endif
Definition: instance_attributes_interface.h:24
Definition: instance_attributes.h:25
std::string name(sc_core::sc_object *object) const override
Definition: instance_attributes.h:27
std::string basename(sc_core::sc_object *object) const override
Definition: instance_attributes.h:30
Definition: adapter.h:79