SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
signal_writer.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_WRITER_H
17
#define SIMICS_SYSTEMC_AWARENESS_SIGNAL_WRITER_H
18
19
20
21
#include <
simics/systemc/awareness/proxy_interface.h
>
22
#include <
simics/systemc/iface/sc_signal_write_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
SignalWriter
:
public
iface::ScSignalWriteInterface
{
31
public
:
32
explicit
SignalWriter
(
ProxyInterface
*proxy);
33
virtual
~SignalWriter
();
34
virtual
void
write
(
const
attr_value_t &value);
35
36
private
:
37
ProxyInterface
*proxy_;
38
ScSignalAccessRegistry
registry_;
39
};
40
41
}
// namespace awareness
42
}
// namespace systemc
43
}
// namespace simics
44
45
#endif
simics::systemc::ScSignalAccessRegistry
Definition:
sc_signal_access_registry.h:24
simics::systemc::awareness::ProxyInterface
Definition:
proxy_interface.h:29
simics::systemc::awareness::SignalWriter
Definition:
signal_writer.h:30
simics::systemc::awareness::SignalWriter::~SignalWriter
virtual ~SignalWriter()
simics::systemc::awareness::SignalWriter::write
virtual void write(const attr_value_t &value)
simics::systemc::awareness::SignalWriter::SignalWriter
SignalWriter(ProxyInterface *proxy)
simics::systemc::iface::ScSignalWriteInterface
Definition:
sc_signal_write_interface.h:26
simics
Definition:
pci_bus_interface.h:24
proxy_interface.h
sc_signal_access_registry.h
sc_signal_write_interface.h