VR-Forces 4.2 Class Documentation
DtObjectConsoleInformationWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtObjectConsoleInformationWidgetLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvUtil/signalslib.h>
15 
17 #include <vrfGuiObjectInformationQt/objectConsoleInfoPageUi.hpp>
18 
19 #include <vrvCore/DtStateView.h>
20 #include <vrvCore/DtEntityState.h>
21 
22 #include <QtCore/QString>
23 
24 namespace makVrv
25 {
26  class DtDe;
27 }
28 
29 class DtEntityIdentifier;
30 
31 namespace makVrf
32 {
33  class DtObjectConsoleMessageHandler;
34 
35  namespace makVrfGuiObjectInformationQt
36  {
37  class DtObjectConsoleInformationWidgetInterface;
38 
40  {
41  public:
42 
45  makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
46 
49 
50  virtual void clearMessages();
51  virtual void logToFile();
52  virtual void notifyLevelChanged();
53 
54  protected:
55  virtual void slot_consoleMessageReceived(const DtEntityIdentifier&, int notifyLevel, const std::string&);
56 
57  void addAllMessagesFor(const std::string& entityId);
58 
59  virtual void formatMessageString(int, QString&);
60 
61  protected:
62  makVrv::DtDe& myDe;
65  std::string myEntityId;
66  makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* myState;
67  makVrv::DtElementID myElementID;
68  };
69  }
70 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)