C++ Device API Reference Manual
Reference documentation for the Simics C++ Device API.
 
Loading...
Searching...
No Matches
conf-object-interface.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2021 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_CONF_OBJECT_INTERFACE_H
17#define SIMICS_CONF_OBJECT_INTERFACE_H
18
19namespace simics {
20
26 public:
27 virtual ~ConfObjectInterface() = default;
28 // This method is called in the finalize phase, once the object has been
29 // fully constructed.
30 virtual void finalize() = 0;
31 // This method is called after finalize has been called on all objects
32 virtual void objects_finalized() = 0;
33};
34
35} // namespace simics
36
37#endif
Abstract C++ interface contains methods for register model defined behavior after the construction an...
Definition: conf-object-interface.h:25
virtual void finalize()=0
virtual ~ConfObjectInterface()=default
virtual void objects_finalized()=0
Definition: after-bank.h:33