-
Notifications
You must be signed in to change notification settings - Fork 0
/
JointSliders.h
52 lines (35 loc) · 882 Bytes
/
JointSliders.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// Created by manurunga on 01.04.16.
//
#ifndef LIBKINE_JOINTSLIDERS_H
#define LIBKINE_JOINTSLIDERS_H
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Slider.H>
#include <stdio.h>
#include <sstream>
#include <vector>
#include "PracticalSocket.h"
#include "Robot.h"
using namespace std;
class JointSliders {
public:
JointSliders(vector<Robot *> *robot, int verbose = 0);
~JointSliders();
void End();
Fl_Window *GetWindow();
private:
static void *Run(void *data);
void *RunWorker();
static void SliderCB(Fl_Widget *w, void *data);
void SliderCBWorker();
static void *UDPReceiver(void *data);
void UDPReceiverWorker();
Fl_Window *m_Win;
vector <Fl_Slider *> m_Sliders;
int m_Running;
vector <Robot *> *m_Robots;
int m_Verbose;
int m_TotNumLinks;
};
#endif //LIBKINE_JOINTSLIDERS_H