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/*
2 © 2015 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_PROXY_FACTORY_INITIATOR_GASKET_H
15#define SIMICS_SYSTEMC_AWARENESS_PROXY_FACTORY_INITIATOR_GASKET_H
16
23
24namespace simics {
25namespace systemc {
26namespace awareness {
27
28class ProxyFactoryInitiatorGasket : public ProxyFactory<ProxyInitiatorGasket> {
29 public:
30 ProxyFactoryInitiatorGasket() : class_attributes_("sc_initiator_gasket") {}
31 bool canManufacture(sc_core::sc_object *object) const override {
32 return dynamic_cast<simics2tlm::GasketInterface*>(object) != NULL;
33 }
34
36 classAttributes(sc_core::sc_object *object) const override {
37 return &class_attributes_;
38 }
39
40 void registerInterfaces(sc_core::sc_object *object,
41 conf_class_t *cls) const override {
45 }
46 private:
47 ClassAttributesFixedName class_attributes_;
48};
49
50} // namespace awareness
51} // namespace systemc
52} // namespace simics
53
54#endif
Definition: class_attributes_fixed_name.h:26
Definition: class_attributes_interface.h:24
Definition: proxy_factory_initiator_gasket.h:28
const ClassAttributesInterface * classAttributes(sc_core::sc_object *object) const override
Definition: proxy_factory_initiator_gasket.h:36
void registerInterfaces(sc_core::sc_object *object, conf_class_t *cls) const override
Definition: proxy_factory_initiator_gasket.h:40
ProxyFactoryInitiatorGasket()
Definition: proxy_factory_initiator_gasket.h:30
bool canManufacture(sc_core::sc_object *object) const override
Definition: proxy_factory_initiator_gasket.h:31
Definition: proxy_factory.h:42
void registerInterface(conf_class_t *cls) const
Definition: proxy_factory.h:174
void registerInterfaces(sc_core::sc_object *object, conf_class_t *cls) const override
Definition: proxy_factory.h:112
Definition: proxy_initiator_gasket.h:27
Definition: sc_initiator_gasket_simics_adapter.h:33
Interface used by simics2tlm gaskets, implemented by Gasket base class.
Definition: gasket_interface.h:33
Definition: adapter.h:79