VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
13 #include "objectConsoleInfoPageUi.hpp"
15 
16 #include <vrvUtil/DtUnicode.h>
18 #include <vrfutil/rwUUID.h>
20 
21 #include <QtCore/QString>
22 #include <QtWidgets/QFileDialog>
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 
43  {
44  public:
45 
48  DtSimObjectReference state, bool receiving = true);
49 
52 
53  virtual void clearMessages();
54  virtual void logToFile();
55  virtual void notifyLevelChanged();
56 
58  {
59  return myState;
60  }
61 
62  virtual void activate(DtSimObjectReference state);
63  virtual void deactivate();
64 
65  protected:
66  virtual void stateModified();
67  virtual void slot_consoleMessageReceived(const DtUUID&, int notifyLevel, const makVrv::DtUnicode&,
68  bool force = false);
69  virtual void slot_notifyLevelMessageReceived(const DtVrfObjectMessage*);
70 
71  void addAllMessagesFor(const DtUUID& entityId);
72 
73  virtual void formatMessageString(int, QString&);
74  virtual std::set<DtUUID> validEntityIdentifiers(const DtUUID& id) const;
75  virtual void slot_onStateViewAboutToBeRemoved(DtSimObjectReference state);
76 
77  virtual bool isStale(DtSimObjectReference state) const;
78 
79  protected:
87  boost::signals2::connection myStateUpdateConnection;
89  };
90  }
91 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: objectConsoleInformationWidgetInterface.h:23
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
makVrv::DtDe & myDe
Definition: objectConsoleInformationWidgetLogic.h:80
Contains the logic for the Mainly used to get messages from the handler for a specific UUID as well ...
Definition: objectConsoleInformationWidgetLogic.h:42
bool myReceiving
Definition: objectConsoleInformationWidgetLogic.h:88
Definition: objectConsoleMessageHandler.h:44
DtObjectConsoleInformationWidgetInterface * myInterface
Definition: objectConsoleInformationWidgetLogic.h:81
makVrv::DtElementID myElementID
Definition: objectConsoleInformationWidgetLogic.h:85
DtSimObjectReference myState
Definition: objectConsoleInformationWidgetLogic.h:84
Contains the DtUUID class declaration.
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
DtSimObjectReference state() const
Definition: objectConsoleInformationWidgetLogic.h:57
DtUUID myEntityId
Definition: objectConsoleInformationWidgetLogic.h:83
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
boost::signals2::connection myStateUpdateConnection
Definition: objectConsoleInformationWidgetLogic.h:87
makVrv::DtSignalConnectionManager myConnections
Definition: objectConsoleInformationWidgetLogic.h:86
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
DtObjectConsoleMessageHandler & myHandler
Definition: objectConsoleInformationWidgetLogic.h:82
Base class to provide boost signal/slot management.
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)