1ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard/* 29368eea42a1afb01dd44110582f997115b50e742François Gaffie * Copyright (c) 2011-2015, Intel Corporation 3ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * All rights reserved. 4ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 5ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * Redistribution and use in source and binary forms, with or without modification, 6ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * are permitted provided that the following conditions are met: 7ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 8ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 1. Redistributions of source code must retain the above copyright notice, this 9ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * list of conditions and the following disclaimer. 10ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 11ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 2. Redistributions in binary form must reproduce the above copyright notice, 12ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * this list of conditions and the following disclaimer in the documentation and/or 13ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * other materials provided with the distribution. 14ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 15ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 3. Neither the name of the copyright holder nor the names of its contributors 16ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * may be used to endorse or promote products derived from this software without 17ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * specific prior written permission. 18ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * 19ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 20ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 21ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 22ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 23ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 24ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 26ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard */ 309368eea42a1afb01dd44110582f997115b50e742François Gaffie#include "Plugin.h" 319368eea42a1afb01dd44110582f997115b50e742François Gaffie#include "LoggingElementBuilderTemplate.h" 32ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard#include "SkeletonSubsystem.h" 33ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard 349368eea42a1afb01dd44110582f997115b50e742François Gaffievoid PARAMETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1(CSubsystemLibrary *pSubsystemLibrary, 359368eea42a1afb01dd44110582f997115b50e742François Gaffie core::log::Logger &logger) 36ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard{ 379368eea42a1afb01dd44110582f997115b50e742François Gaffie pSubsystemLibrary->addElementBuilder( 389368eea42a1afb01dd44110582f997115b50e742François Gaffie "Skeleton", new TLoggingElementBuilderTemplate<CSkeletonSubsystem>(logger)); 39ad12cb6f1d4ac9f2c24171567f935693db211bd6Kevin Rocard} 40