CFLinker.h 618 Bytes
Newer Older
1
2
3
4
5
6
#ifndef CFLINKER_H
#define CFLINKER_H

#include "globalDefinitions.h"
#include "crazyFly.h"
#include "crazyFlyZone.h"
7
8
9
#include "ui_mainguiwindow.h"

#include "rosNodeThread.h"
10

11

12
13
14
class CFLinker
{
public:
15
    explicit CFLinker(Ui::MainGUIWindow* ui);
16
17
    ~CFLinker();

18
    void link(int student_id, crazyFly* crazyfly, crazyFlyZone* crazyfly_zone);
19
20
21
22
23
24
25
26
27
28
29

    void unlink(crazyFly* crazyfly,  crazyFlyZone* crazyfly_zone);

private:

    struct link {
        int cf_zone_index;
        std::string cf_name;
    };

    std::vector<struct link> links;
30

31
32
33
    // QTableWidget m_p_table;

    Ui::MainGUIWindow* m_ui;
34
35
36
37
};


#endif