SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
proxy_factory_process.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_PROCESS_H
17#define SIMICS_SYSTEMC_AWARENESS_PROXY_FACTORY_PROCESS_H
18
21
29
30#include <string>
31
32namespace simics {
33namespace systemc {
34namespace awareness {
35
36class ProxyFactoryProcess : public ProxyFactory<ProxyProcess> {
37 public:
38 virtual bool canManufacture(sc_core::sc_object *object) const {
39 return (std::string("sc_thread_process") == object->kind())
40 || (std::string("sc_method_process") == object->kind());
41 }
42 void registerInterfaces(sc_core::sc_object *object,
43 conf_class_t *cls) const {
45 registerInterface<iface::ScProcessSimicsAdapter<ProxyProcess> >(cls);
47 ProxyProcess> >(cls);
49 ProxyProcess> >(cls);
52 ProxyProcess> >(cls);
53 }
54};
55
56} // namespace awareness
57} // namespace systemc
58} // namespace simics
59
60#endif
Definition: proxy_factory_process.h:36
virtual bool canManufacture(sc_core::sc_object *object) const
Definition: proxy_factory_process.h:38
void registerInterfaces(sc_core::sc_object *object, conf_class_t *cls) const
Definition: proxy_factory_process.h:42
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_process.h:39
Definition: sc_memory_profiler_simics_adapter.h:33
Definition: sc_process_profiler_simics_adapter.h:34
Definition: provider_controller_simics_adapter.h:36
Definition: pci_bus_interface.h:24