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/*
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_PROCESS_H
15#define SIMICS_SYSTEMC_AWARENESS_PROXY_FACTORY_PROCESS_H
16
19
27
28#include <string>
29
30namespace simics {
31namespace systemc {
32namespace awareness {
33
34class ProxyFactoryProcess : public ProxyFactory<ProxyProcess> {
35 public:
36 bool canManufacture(sc_core::sc_object *object) const override {
37 return (std::string("sc_thread_process") == object->kind())
38 || (std::string("sc_method_process") == object->kind());
39 }
40 void registerInterfaces(sc_core::sc_object *object,
41 conf_class_t *cls) const override {
43 registerInterface<iface::ScProcessSimicsAdapter<ProxyProcess> >(cls);
45 ProxyProcess> >(cls);
47 ProxyProcess> >(cls);
50 ProxyProcess> >(cls);
51 }
52};
53
54} // namespace awareness
55} // namespace systemc
56} // namespace simics
57
58#endif
Definition: proxy_factory_process.h:34
bool canManufacture(sc_core::sc_object *object) const override
Definition: proxy_factory_process.h:36
void registerInterfaces(sc_core::sc_object *object, conf_class_t *cls) const override
Definition: proxy_factory_process.h:40
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_process.h:37
Definition: sc_memory_profiler_simics_adapter.h:31
Definition: sc_process_profiler_simics_adapter.h:32
Definition: provider_controller_simics_adapter.h:34
Definition: adapter.h:79