This class provides a factory class to create an ethernet_layer class instance.
More...
#include <ethernet_layer_factory.hh>
This class provides a factory class to create an ethernet_layer class instance.
◆ ethernet_layer_factory()
ethernet_layer_factory::ethernet_layer_factory |
( |
| ) |
|
|
inline |
Reference to the unique instance of this class.
Default constructor Create a new instance of the ethernet_layer_factory class
◆ create_layer()
layer * ethernet_layer_factory::create_layer |
( |
const std::string & |
type, |
|
|
const std::string & |
param |
|
) |
| |
|
inlinevirtual |
Create the layers stack based on the provided layers stack description.
- Parameters
-
[in] | p_type | The provided layers stack description |
[in] | p_params | Optional parameters |
- Returns
- 0 on success, -1 otherwise
Implements layer_factory.
◆ _f
The documentation for this class was generated from the following files: