MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/application/communication/add.hh
2024-06-07 11:12:56 +03:00

33 lines
739 B
C++

//
// Created by titov on 01.02.2022.
//
#ifndef UMLIBRARY_DEV_ADD_HH
#define UMLIBRARY_DEV_ADD_HH
#include "../../configuration/software/AppCreate.hh"
#include "AttachMessageServer.hh"
#include "../ApplicationInitializerList.hh"
namespace application { namespace communication {
void add( configuration::software::ApplicationConfigurator & configurator );
}}
inline void application::communication::add(
configuration::software::ApplicationConfigurator & configurator ) {
using namespace configuration;
typedef typename software::AppCreate<AttachMessageServer, AttachMessageServer::Setting, void> AMS;
registration( configurator, &AMS::build, info::AttachMessageServer );
}
#endif //UMLIBRARY_DEV_ADD_HH