-
Notifications
You must be signed in to change notification settings - Fork 0
/
irschartwin.h
58 lines (48 loc) · 1.57 KB
/
irschartwin.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
53
54
55
56
57
58
//! \file
//! \ingroup graphical_user_interface_group
//! \brief Áàçîâûé êëàññ äëÿ îêíà ñ ãðàôèêîì
//!
//! Äàòà: 28.09.2009\n
//! Äàòà ñîçäàíèÿ: 27.09.2009
#ifndef IRSCHARTWINH
#define IRSCHARTWINH
#include <irsdefs.h>
#include <irsstrdefs.h>
#include <irsstring.h>
#include <irsrect.h>
#include <irsfinal.h>
namespace irs {
//! \addtogroup graphical_user_interface_group
//! @{
// Îêíî ñ ãðàôèêîì
class chart_window_t {
public:
typedef string_t string_type;
virtual ~chart_window_t() {}
virtual void show() = 0;
virtual void hide() = 0;
virtual rect_t position() const = 0;
virtual void set_position(const rect_t &a_position) = 0;
virtual void add_param(const string_type &a_name) = 0;
virtual void add_param(const string_type &a_name,
const vector<double>& a_array_time,
const vector<double>& a_array_value) = 0;
virtual void delete_param(const string_type &a_name) = 0;
virtual void clear_param() = 0;
virtual void set_value(const string_type &a_name, double a_value) = 0;
virtual void set_value(const string_type &a_name, double a_time,
double a_value) = 0;
virtual void set_time(double a_time) = 0;
virtual void add() = 0;
virtual void add(const string_type &a_name, double a_time,
double a_value) = 0;
virtual void clear() = 0;
virtual void set_refresh_time(irs_i32 a_refresh_time_ms) = 0;
virtual void resize(irs_u32 a_size) = 0;
virtual irs_u32 size() const = 0;
virtual void group_all() = 0;
virtual void ungroup_all() = 0;
};
//! @}
} //namespace irs
#endif //IRSCHARTWINH