14#ifndef SIMICS_SYSTEMC_TRACE_EVENT_ALL_DYNAMIC_H
15#define SIMICS_SYSTEMC_TRACE_EVENT_ALL_DYNAMIC_H
17#include <simics/cc-api.h>
18#include <simics/simulator/sim-get-class.h>
36 void init(SimulationInterface *simulation) {
41 const char *event_class_type,
43 const sc_core::sc_time &ts)
override {
46 event_type, event_class_type, event_object,
47 const_cast<sc_core::sc_time *
>(&ts));
51 if (SIM_clear_exception() == SimExc_No_Exception) {
55 auto new_cls = make_class<TraceEventAllDynamic>(
56 "ScEventObjectAllDynamic",
57 "All dynamic SystemC events",
58 "Helper class to attach SystemC Tools on dynamically created "
60 Sim_Class_Kind_Pseudo);
64 SIM_register_interface(*new_cls.get(), SC_PROVIDER_CONTROLLER_INTERFACE,
65 sc_provider_controller_adapter.cstruct());
66 return *new_cls.get();
Definition: trace_monitor_interface.h:28
Interface to the SystemC simulation.
Definition: simulation_interface_proxy.h:25
void setSimulation(iface::SimulationInterface *simulation)
Definition: simulation_interface_proxy.h:30
Definition: trace_event_all_dynamic.h:32
void init(SimulationInterface *simulation)
Definition: trace_event_all_dynamic.h:36
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:40
void connection_list_updated(ConnectionListState state) override
TraceEventAllDynamic(simics::ConfObjectRef o)
Definition: trace_event_all_dynamic.h:34
static conf_class_t * initClass()
Definition: trace_event_all_dynamic.h:49
Definition: event_action_interface.h:25
Definition: provider_controller_simics_adapter.h:34
conf_class_t * SIM_get_class(const char *NOTNULL name)