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

Method CreateChannelComposition

lib/mdflib/mdflib/src/cn4block.cpp:991–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989}
990
991IChannel *Cn4Block::CreateChannelComposition() {
992 auto block = std::make_unique<Cn4Block>();
993 block->Init(*this);
994 cx_list_.push_back(std::move(block));
995 return dynamic_cast<IChannel*>(cx_list_.back().get());
996}
997
998std::vector<IChannel *> Cn4Block::ChannelCompositions() {
999 std::vector<IChannel*> list;

Callers

nothing calls this directly

Calls 2

InitMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected