source: flair-src/branches/mavlink/lib/FlairMeta/src/UavFactory.h@ 49

Last change on this file since 49 was 41, checked in by Sanahuja Guillaume, 8 years ago

m

File size: 988 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(flair::core::FrameworkManager *parent,
24 std::string uav_name, std::string uav_type,
25 flair::filter::UavMultiplex *multiplex = NULL);
26
27void RegisterUavCreator(flair::meta::Uav*(*func)(flair::core::FrameworkManager *parent,
28 std::string uav_name, std::string uav_type,
29 flair::filter::UavMultiplex *multiplex));
30#endif // UAVFACTORY
Note: See TracBrowser for help on using the repository browser.