UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hds_messenger_std.hpp
1 /* hds_messenger_std.hpp */
2 /* $Id$ */
3 #ifndef __hds_messenger_std_hpp
4 #define __hds_messenger_std_hpp
5 
6 #include <hds_batch/defines.hpp>
7 #include <hds_batch/errors.hpp>
8 #include <hds_batch/hds_messenger.hpp>
9 
11 namespace hds
12 {
15  {
16  public:
17 
20  virtual void sendMsg(const hds::Messenger::Message &msg) const;
21 
23  virtual hds::Messenger::Message getMsg() const;
24 
25  private:
26 
28  struct PBar
29  {
30  PBar()
31  {mn = 0; mx = 100; val = 0; shown_flag = false;cur_str_size=0;}
32  int mn, mx, val;
33  bool shown_flag;
34  QString status_msg;
35  size_t cur_str_size;
36  };
37  mutable PBar m_pbar;
38  };
39 };
40 
41 #endif /* hds_messenger_std.hpp */
virtual void sendMsg(const hds::Messenger::Message &msg) const
Definition: hds_messenger.hpp:16
Definition: hds_messenger_std.hpp:14
virtual hds::Messenger::Message getMsg() const
Definition: hds_messenger.hpp:38