SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
proxy_factory_initiator_gasket.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2015 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_AWARENESS_PROXY_FACTORY_INITIATOR_GASKET_H
17#define SIMICS_SYSTEMC_AWARENESS_PROXY_FACTORY_INITIATOR_GASKET_H
18
25
26namespace simics {
27namespace systemc {
28namespace awareness {
29
30class ProxyFactoryInitiatorGasket : public ProxyFactory<ProxyInitiatorGasket> {
31 public:
32 ProxyFactoryInitiatorGasket() : class_attributes_("sc_initiator_gasket") {}
33 bool canManufacture(sc_core::sc_object *object) const {
34 return dynamic_cast<simics2tlm::GasketInterface*>(object) != NULL;
35 }
36
38 classAttributes(sc_core::sc_object *object) const {
39 return &class_attributes_;
40 }
41
42 void registerInterfaces(sc_core::sc_object *object,
43 conf_class_t *cls) const {
47 }
48 private:
49 ClassAttributesFixedName class_attributes_;
50};
51
52} // namespace awareness
53} // namespace systemc
54} // namespace simics
55
56#endif
Definition: class_attributes_fixed_name.h:28
Definition: class_attributes_interface.h:26
Definition: proxy_factory_initiator_gasket.h:30
void registerInterfaces(sc_core::sc_object *object, conf_class_t *cls) const
Definition: proxy_factory_initiator_gasket.h:42
ProxyFactoryInitiatorGasket()
Definition: proxy_factory_initiator_gasket.h:32
bool canManufacture(sc_core::sc_object *object) const
Definition: proxy_factory_initiator_gasket.h:33
const ClassAttributesInterface * classAttributes(sc_core::sc_object *object) const
Definition: proxy_factory_initiator_gasket.h:38
Definition: proxy_factory.h:44
virtual void registerInterfaces(sc_core::sc_object *object, conf_class_t *cls) const
Definition: proxy_factory.h:117
void registerInterface(conf_class_t *cls) const
Definition: proxy_factory.h:179
Definition: proxy_initiator_gasket.h:29
Definition: sc_initiator_gasket_simics_adapter.h:35
Interface used by simics2tlm gaskets, implemented by Gasket base class.
Definition: gasket_interface.h:35
Definition: pci_bus_interface.h:24