VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
objectConsoleInformationWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvUtil/signalslib.h>
12 
14 #include <vrfGuiObjectInformationQt/objectConsoleInfoPageUi.hpp>
15 
16 #include <vrvCore/DtStateView.h>
17 #include <vrvCore/DtEntityState.h>
18 #include <vrvUtil/DtUnicode.h>
20 
21 #include <QtCore/QString>
22 
23 namespace makVrv
24 {
25  class DtDe;
26 }
27 
28 class DtEntityIdentifier;
29 
30 namespace makVrf
31 {
32  class DtObjectConsoleMessageHandler;
33 
34  namespace makVrfGuiObjectInformationQt
35  {
36  class DtObjectConsoleInformationWidgetInterface;
37 
39  {
40  public:
41 
45 
48 
49  virtual void clearMessages();
50  virtual void logToFile();
51  virtual void notifyLevelChanged();
52 
54  {
55  return myState;
56  }
57 
58  protected:
59  virtual void slot_consoleMessageReceived(const DtEntityIdentifier&, int notifyLevel, const makVrv::DtUnicode&,
60  bool force = false);
61 
62  void addAllMessagesFor(const std::string& entityId);
63 
64  virtual void formatMessageString(int, QString&);
65  virtual std::set<std::string> validEntityIdentifiers(const std::string& id) const;
66  virtual void slot_onStateViewAboutToBeRemoved(const makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>& state);
67 
68  protected:
72  std::string myEntityId;
76  };
77  }
78 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)