MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / CreateChannelConversion

Method CreateChannelConversion

lib/mdflib/mdflib/src/cn4block.cpp:982–989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982IChannelConversion *Cn4Block::CreateChannelConversion() {
983 if (!cc_block_) {
984 cc_block_ = std::make_unique<Cc4Block>();
985 cc_block_->Init(*this);
986 }
987 cc_block_->ChannelDataType(data_type_);
988 return cc_block_.get();
989}
990
991IChannel *Cn4Block::CreateChannelComposition() {
992 auto block = std::make_unique<Cn4Block>();

Callers

nothing calls this directly

Calls 3

ChannelDataTypeMethod · 0.80
InitMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected