ETSI STF525 / Internal Testing test suite This project provides an internal testing test suite and its associated Test Adapter/Codec

UpperTesterIvimFactory.hh
Go to the documentation of this file.
1
11 #pragma once
12
13 #include "layer_stack_builder.hh"
14
15 #include "UpperTesterIvimLayer.hh"
16
17 class UpperTesterIvimFactory : public layer_factory {
18 static UpperTesterIvimFactory _f;
19 public:
20 UpperTesterIvimFactory() {
21 // Register factory
22 layer_stack_builder::register_layer_factory("UT_IVIM", this);
23 };
24 inline virtual layer* create_layer(const std::string& p_type, const std::string& p_param){
25 return new UpperTesterIvimLayer(p_type, p_param);
26 };
27 }; // End of class UpperTesterIvimFactory
layer
Forward declaration of TITAN class.
Definition: layer.hh:29
UpperTesterIvimLayer.hh
layer_factory
This class provides a factory class to create layer class instances .
Definition: layer_factory.hh:25
UpperTesterIvimFactory::_f
static UpperTesterIvimFactory _f
Definition: UpperTesterIvimFactory.hh:18
UpperTesterIvimLayer
Definition: UpperTesterIvimLayer.hh:18
layer_stack_builder.hh
Header file for ITS protocol stack builder.
UpperTesterIvimFactory::UpperTesterIvimFactory
UpperTesterIvimFactory()
Definition: UpperTesterIvimFactory.hh:20
layer_stack_builder::register_layer_factory
static void register_layer_factory(const std::string &p_type, layer_factory *p_layer_factory)
Add a new layer factory.
Definition: layer_factory.cc:16
UpperTesterIvimFactory
Definition: UpperTesterIvimFactory.hh:17
UpperTesterIvimFactory::create_layer
virtual layer * create_layer(const std::string &p_type, const std::string &p_param)
Create the layers stack based on the provided layers stack description (cf. remark) ...
Definition: UpperTesterIvimFactory.hh:24