MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getProcess

Method getProcess

src/tools/ecode/plugins/debugger/models/processesmodel.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69std::pair<Uint64, std::string> ProcessesModel::getProcess( const ModelIndex& index ) const {
70 if ( !index.isValid() )
71 return {};
72 Lock l( mResourceLock );
73 if ( mFilter.empty() ) {
74 return mProcesses[index.row()];
75 }
76 return { mProcessesFiltered[index.row()].first,
77 std::string{ mProcessesFiltered[index.row()].second } };
78}
79
80} // namespace ecode

Callers 5

onCloseRequestCallbackFunction · 0.45
isAnyTerminalDirtyMethod · 0.45
initMethod · 0.45
tryTabCloseMethod · 0.45
runMethod · 0.45

Calls 3

rowMethod · 0.80
isValidMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected