// %flair:license{ // This file is part of the Flair framework distributed under the // CECILL-C License, Version 1.0. // %flair:license} // created: 2016/02/05 // filename: UavFactory.cpp // // author: Guillaume Sanahuja // Copyright Heudiasyc UMR UTC/CNRS 7253 // // version: $Id: $ // // purpose: construct a Uav based on the type name // // /*********************************************************************/ #ifndef UAVFACTORY #define UAVFACTORY #include flair::meta::Uav *CreateUav(std::string name, std::string type,std::string options="", flair::filter::UavMultiplex *multiplex = NULL); void RegisterUavCreator(flair::meta::Uav*(*func)(std::string,std::string,std::string, flair::filter::UavMultiplex*)); #endif // UAVFACTORY