MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / initUsedFunctionIds

Method initUsedFunctionIds

erpcgen/src/UniqueIdChecker.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void UniqueIdChecker::initUsedFunctionIds(Interface *iface)
75{
76 m_usedFunctionIds.clear();
77 Interface::function_vector_t functions = iface->getFunctions();
78 if (0 < functions.size())
79 {
80 for (unsigned int i = 0; i < functions.size(); ++i)
81 {
82 m_usedFunctionIds.push_back(make_pair(functions[i]->getUniqueId(), functions[i]->getName()));
83 }
84 }
85}
86
87void UniqueIdChecker::setInterfaceId(Interface *iface, Annotation *interfaceId)
88{

Callers

nothing calls this directly

Calls 5

push_backMethod · 0.80
clearMethod · 0.45
sizeMethod · 0.45
getUniqueIdMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected