16#ifndef SIMICS_SYSTEMC_TRACE_EVENT_ALL_DYNAMIC_H
17#define SIMICS_SYSTEMC_TRACE_EVENT_ALL_DYNAMIC_H
19#include <simics/cc-api.h>
20#include <simics/simulator/sim-get-class.h>
38 void init(SimulationInterface *simulation) {
43 const char *event_class_type,
45 const sc_core::sc_time &ts)
override {
48 event_type, event_class_type, event_object,
49 const_cast<sc_core::sc_time *
>(&ts));
53 if (SIM_clear_exception() == SimExc_No_Exception) {
57 auto new_cls = make_class<TraceEventAllDynamic>(
58 "ScEventObjectAllDynamic",
59 "All dynamic SystemC events",
60 "Helper class to attach SystemC Tools on dynamically created "
62 Sim_Class_Kind_Pseudo);
66 SIM_register_interface(*new_cls.get(), SC_PROVIDER_CONTROLLER_INTERFACE,
67 sc_provider_controller_adapter.cstruct());
68 return *new_cls.get();
Definition: trace_monitor_interface.h:30
Interface to the SystemC simulation.
Definition: simulation_interface_proxy.h:27
void setSimulation(iface::SimulationInterface *simulation)
Definition: simulation_interface_proxy.h:32
Definition: trace_event_all_dynamic.h:34
void init(SimulationInterface *simulation)
Definition: trace_event_all_dynamic.h:38
void event_callback(const char *event_type, const char *event_class_type, void *event_object, const sc_core::sc_time &ts) override
Definition: trace_event_all_dynamic.h:42
void connection_list_updated(ConnectionListState state) override
TraceEventAllDynamic(simics::ConfObjectRef o)
Definition: trace_event_all_dynamic.h:36
static conf_class_t * initClass()
Definition: trace_event_all_dynamic.h:51
Definition: event_action_interface.h:27
Definition: provider_controller_simics_adapter.h:36
conf_class_t * SIM_get_class(const char *NOTNULL name)