MCPcopy Create free account
hub / github.com/GENIVI/CANdevStudio / dataType

Method dataType

src/components/cansignalencoder/cansignalencodermodel.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49NodeDataType CanSignalEncoderModel::dataType(PortType portType, PortIndex ndx) const
50{
51 if (portMappings.at(portType).size() > static_cast<uint32_t>(ndx)) {
52 return portMappings.at(portType)[ndx];
53 }
54
55 cds_error("No port mapping for ndx: {}", ndx);
56 return {};
57}
58
59std::shared_ptr<NodeData> CanSignalEncoderModel::outData(PortIndex)
60{

Callers 1

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected