source: flair-dev/trunk/include/FlairMeta/UavFactory.h @ 44

Last change on this file since 44 was 44, checked in by Sanahuja Guillaume, 4 years ago

m

File size: 831 bytes
Line 
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
23flair::meta::Uav *CreateUav(std::string name, std::string type,
24                            flair::filter::UavMultiplex *multiplex = NULL);
25
26void RegisterUavCreator(flair::meta::Uav*(*func)(std::string name, std::string type,
27                                   flair::filter::UavMultiplex *multiplex));
28#endif // UAVFACTORY
Note: See TracBrowser for help on using the repository browser.