Flair
Framework Libre Air
UavFactory.h
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
5 // created: 2016/02/05
6 // filename: UavFactory.cpp
7 //
8 // author: Guillaume Sanahuja
9 // Copyright Heudiasyc UMR UTC/CNRS 7253
10 //
11 // version: $Id: $
12 //
13 // purpose: construct a Uav based on the type name
14 //
15 //
16 /*********************************************************************/
17 
18 #ifndef UAVFACTORY
19 #define UAVFACTORY
20 
21 #include <Uav.h>
22 
23 flair::meta::Uav *CreateUav(std::string name, std::string type,std::string options="",
24  flair::filter::UavMultiplex *multiplex = NULL);
25 
26 void RegisterUavCreator(flair::meta::Uav*(*func)(std::string,std::string,std::string,
28 #endif // UAVFACTORY
Class defining uav multiplexing.
Definition: UavMultiplex.h:37
Base class to construct sensors/actuators depending on uav type.
Base class to construct sensors/actuators depending on uav type. The Object is created with the Frame...
Definition: Uav.h:48