ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
IVIMLayerFactory.hh
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "layer_stack_builder.hh"
14 
15 #include "IVIMLayer.hh"
16 
19 public:
21  // Register factory
23  };
24  inline virtual layer* create_layer(const std::string& p_type, const std::string& p_param){
25  return new IVIMLayer(p_type, p_param);
26  };
27 }; // End of class IVIMLayerFactory
28 
Definition: IVIMLayerFactory.hh:17
Forward declaration of TITAN class.
Definition: layer.hh:29
This class provides a factory class to create layer class instances .
Definition: layer_factory.hh:25
Header file for ITS IVIM protocol layer.
IVIMLayerFactory()
Definition: IVIMLayerFactory.hh:20
Header file for ITS protocol stack builder.
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: IVIMLayerFactory.hh:24
Definition: IVIMLayer.hh:22
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
static IVIMLayerFactory _f
Definition: IVIMLayerFactory.hh:18