ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
|
This class provides a factory class to create Layer class instances. More...
#include <layer_stack_builder.hh>
Public Member Functions | |
layer * | create_layer_stack (const char *p_layer_stack_description) |
Add a new layer factory. More... | |
Static Public Member Functions | |
static layer_stack_builder * | get_instance () |
Accessor for the unique instance of the logger framework. More... | |
static void | register_layer_factory (const std::string &p_type, layer_factory *p_layer_factory) |
Add a new layer factory. More... | |
Private Types | |
typedef std::map< std::string, layer_factory * > | LayerFactoryMap |
Private Member Functions | |
layer_stack_builder () | |
The list of the registered. More... | |
void | _register_layer_factory (const std::string &p_type, layer_factory *p_layer_factory) |
Add a new layer factory. More... | |
Private Attributes | |
std::map< std::string, layer_factory * > | _layer_factories |
Smart pointer to the unique instance of the logger framework. More... | |
Static Private Attributes | |
static layer_stack_builder * | _instance = NULL |
This class provides a factory class to create Layer class instances.
|
private |
|
private |
The list of the registered.
Default constructor Create a new instance of the layer_stack_builder class
|
private |
Add a new layer factory.
[in] | p_type | The layer identifier (e.g. GN for the GeoNetworking layer...) |
[in] | p_layer_factory | A reference to the |
layer * layer_stack_builder::create_layer_stack | ( | const char * | p_layer_stack_description | ) |
Add a new layer factory.
[in] | p_layer_stack_description | A textual description of the layer to create |
|
static |
Accessor for the unique instance of the logger framework.
|
static |
Add a new layer factory.
[in] | p_type | The layer identifier (e.g. GN for the GeoNetworking layer...) |
[in] | p_layer_factory | A reference to the |
|
staticprivate |
|
private |
Smart pointer to the unique instance of the logger framework.