| 115 | } |
| 116 | |
| 117 | Module *ModuleBuilder::CreateModule(const std::string &name, |
| 118 | bess::metadata::Pipeline *pipeline) const { |
| 119 | Module *m = module_generator_(); |
| 120 | m->set_name(name); |
| 121 | m->set_module_builder(this); |
| 122 | m->set_pipeline(pipeline); |
| 123 | return m; |
| 124 | } |
| 125 | |
| 126 | // ------------------------------------------------------------------------- |
| 127 | CommandResponse Module::InitWithGenericArg(const google::protobuf::Any &arg) { |
nothing calls this directly
no test coverage detected