MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / build

Method build

src/Factory/Module/Encoder/RA/Encoder_RA.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104template<typename B>
105module::Encoder_RA<B>*
106Encoder_RA ::build(const module::Interleaver<B>& itl) const
107{
108 if (this->type == "RA") return new module::Encoder_RA<B>(this->K, this->N_cw, itl);
109
110 throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__);
111}
112
113// ==================================================================================== explicit template instantiation
114#include "Tools/types.h"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected