SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
signal_reader.h
Go to the documentation of this file.
1
// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3
/*
4
© 2017 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_SIGNAL_READER_H
17
#define SIMICS_SYSTEMC_AWARENESS_SIGNAL_READER_H
18
19
20
21
#include <
simics/systemc/awareness/proxy_interface.h
>
22
#include <
simics/systemc/iface/sc_signal_read_interface.h
>
23
#include <
simics/systemc/sc_signal_access_registry.h
>
24
25
namespace
simics
{
26
namespace
systemc {
27
namespace
awareness {
28
29
// \internal
30
class
SignalReader
:
public
iface::ScSignalReadInterface
{
31
public
:
32
explicit
SignalReader
(
ProxyInterface
*proxy);
33
virtual
~SignalReader
();
34
virtual
attr_value_t
read
();
35
private
:
36
ProxyInterface
*proxy_;
37
ScSignalAccessRegistry
registry_;
38
};
39
40
}
// namespace awareness
41
}
// namespace systemc
42
}
// namespace simics
43
44
#endif
simics::systemc::ScSignalAccessRegistry
Definition:
sc_signal_access_registry.h:24
simics::systemc::awareness::ProxyInterface
Definition:
proxy_interface.h:29
simics::systemc::awareness::SignalReader
Definition:
signal_reader.h:30
simics::systemc::awareness::SignalReader::read
virtual attr_value_t read()
simics::systemc::awareness::SignalReader::~SignalReader
virtual ~SignalReader()
simics::systemc::awareness::SignalReader::SignalReader
SignalReader(ProxyInterface *proxy)
simics::systemc::iface::ScSignalReadInterface
Definition:
sc_signal_read_interface.h:26
simics
Definition:
pci_bus_interface.h:24
proxy_interface.h
sc_signal_access_registry.h
sc_signal_read_interface.h