/*!
 * \file      UpperTesterSremSsemFactory.hh
 * \brief     Header file for ITS SREM/SSEM Upper Tester protocol layer factory.
 * \author    ETSI STF525
 * \copyright ETSI Copyright Notification
 *            No part may be reproduced except as authorized by written permission.
 *            The copyright and the foregoing restriction extend to reproduction in all media.
 *            All rights reserved.
 * \version   0.1
 */
#pragma once

#include "LayerStackBuilder.hh"

#include "UpperTesterSremSsemLayer.hh"

class UpperTesterSremSsemFactory : public LayerFactory {
  static UpperTesterSremSsemFactory _f;
public:
  UpperTesterSremSsemFactory() {
    // Register factory
    loggers::get_instance().log(">>> UpperTesterSremSsemFactory::UpperTesterSremSsemFactory");
    LayerStackBuilder::RegisterLayerFactory("UT_SREMSSEM", this);
  };
  inline virtual Layer * createLayer(const std::string& p_type, const std::string& p_param){
    return new UpperTesterSremSsemLayer(p_type, p_param);
  };
}; // End of class UpperTesterSremSsemFactory
