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>
37 void init(SimulationInterface *simulation) {
42 const char *event_class_type,
44 const sc_core::sc_time &ts) {
47 event_type, event_class_type, event_object,
48 const_cast<sc_core::sc_time *
>(&ts));
52 if (SIM_clear_exception() == SimExc_No_Exception) {
56 auto new_cls = make_class<TraceEventAllDynamic>(
57 "ScEventObjectAllDynamic",
58 "All dynamic SystemC events",
59 "Helper class to attach SystemC Tools on dynamically created "
61 Sim_Class_Kind_Pseudo);
65 SIM_register_interface(*new_cls.get(), SC_PROVIDER_CONTROLLER_INTERFACE,
66 sc_provider_controller_adapter.cstruct());
67 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:33
void init(SimulationInterface *simulation)
Definition: trace_event_all_dynamic.h:37
virtual void connection_list_updated(ConnectionListState state)
void event_callback(const char *event_type, const char *event_class_type, void *event_object, const sc_core::sc_time &ts)
Definition: trace_event_all_dynamic.h:41
TraceEventAllDynamic(simics::ConfObjectRef o)
Definition: trace_event_all_dynamic.h:35
static conf_class_t * initClass()
Definition: trace_event_all_dynamic.h:50
Definition: event_action_interface.h:27
Definition: provider_controller_simics_adapter.h:36
conf_class_t * SIM_get_class(const char *NOTNULL name)
Definition: pci_bus_interface.h:24