| 119 | |
| 120 | template<typename B, typename Q> |
| 121 | module::Decoder_SIHO<B, Q>* |
| 122 | Decoder_RA ::build(const module::Interleaver<Q>& itl, module::Encoder<B>* encoder) const |
| 123 | { |
| 124 | try |
| 125 | { |
| 126 | return Decoder::build<B, Q>(encoder); |
| 127 | } |
| 128 | catch (spu::tools::cannot_allocate const&) |
| 129 | { |
| 130 | if (this->type == "RA") |
| 131 | { |
| 132 | if (this->implem == "STD") return new module::Decoder_RA<B, Q>(this->K, this->N_cw, itl, this->n_ite); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__); |
| 137 | } |
| 138 | |
| 139 | // ==================================================================================== explicit template instantiation |
| 140 | #include "Tools/types.h" |
nothing calls this directly
no outgoing calls
no test coverage detected