resolution.cpp (37acb2896f2341ba21e27cdb9960e0a265b5b537) | resolution.cpp (a4134770850077cbe7171b8852a1fa1b3c1c6525) |
---|---|
1#include <analyzer/plugins/plugin.hpp> 2#include <analyzer/resolution.hpp> 3#include <util/pdbg.hpp> 4#include <util/trace.hpp> 5 6namespace analyzer 7{ 8 --- 86 unchanged lines hidden (view full) --- 95void ProcedureCalloutResolution::resolve(ServiceData& io_sd) const 96{ 97 // Add the callout and the FFDC to the service data. 98 io_sd.calloutProcedure(iv_procedure, iv_priority); 99} 100 101//------------------------------------------------------------------------------ 102 | 1#include <analyzer/plugins/plugin.hpp> 2#include <analyzer/resolution.hpp> 3#include <util/pdbg.hpp> 4#include <util/trace.hpp> 5 6namespace analyzer 7{ 8 --- 86 unchanged lines hidden (view full) --- 95void ProcedureCalloutResolution::resolve(ServiceData& io_sd) const 96{ 97 // Add the callout and the FFDC to the service data. 98 io_sd.calloutProcedure(iv_procedure, iv_priority); 99} 100 101//------------------------------------------------------------------------------ 102 |
103void PartCalloutResolution::resolve(ServiceData& io_sd) const 104{ 105 // Add the callout and the FFDC to the service data. 106 io_sd.calloutPart(iv_part, iv_priority); 107} 108 109//------------------------------------------------------------------------------ 110 |
|
103void PluginResolution::resolve(ServiceData& io_sd) const 104{ 105 // Get the plugin function and call it. 106 107 auto chip = io_sd.getRootCause().getChip(); 108 109 auto func = PluginMap::getSingleton().get(chip.getType(), iv_name); 110 111 func(iv_instance, chip, io_sd); 112} 113 114//------------------------------------------------------------------------------ 115 116} // namespace analyzer | 111void PluginResolution::resolve(ServiceData& io_sd) const 112{ 113 // Get the plugin function and call it. 114 115 auto chip = io_sd.getRootCause().getChip(); 116 117 auto func = PluginMap::getSingleton().get(chip.getType(), iv_name); 118 119 func(iv_instance, chip, io_sd); 120} 121 122//------------------------------------------------------------------------------ 123 124} // namespace analyzer |