MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrRemoteDisplayInfo.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrRemoteDisplayInfo_H_
10 #define lgrRemoteDisplayInfo_H_
11 
13 #include <QColor>
14 #include <map>
15 #include <vlutil/vlMachineTypes.h>
18 
19 class DtFilename;
20 namespace MAKLogger
21 {
23  class DtLgrRemoteMainWindow;
24  class DtTimeComponent;
25 
27  {
28  protected:
31  {
34  QColor lgrColor;
35  DtEntityIdentifier entityId;
36  DtFilename lgrFile;
37  };
38 
39  public:
42 
44  virtual ~DtLgrRemoteDisplayInfo();
45 
47  static DtLgrRemoteDisplayInfo* instance( DtLgrRemoteMainWindow* window );
48 
50  QColor getColorForId( int id );
51 
53  virtual DtLgrProtocol getProtocolForId( int id );
54 
56  virtual DtLgrMode getStateForId( int id );
57 
59  virtual DtEntityIdentifier getEntityIdentifierForID( int id );
60 
62  virtual DtFilename getFilenameForId( int id );
63 
65  virtual void setColorForId( int id, QColor color );
66 
68  virtual void setProtocolForId( int id, DtLgrProtocol protocol );
69 
71  virtual void setStateForId( int id, DtLgrMode state );
72 
74  virtual void setEntityIdentifierForId( int id, DtEntityIdentifier entityIdentifier );
75 
77  virtual void setFilenameForId( int id, DtFilename filename );
78 
80  virtual void updateDisplayInfo( DtLgrRemoteMainWindow* window );
81 
83  virtual void removeDisconnectedLoggers( DtEntityIdSet& connectedLoggers );
84 
86  virtual void setDefaultColor( int id );
87 
88 
89  protected:
90  std::map<DtU16, DtRemoteDisplayInfo> myDisplayInfoMap;
96 
97  private:
101  DtLgrRemoteDisplayInfo& operator=(const DtLgrRemoteDisplayInfo& info);
102  };
103 }
104 
105 
106 #endif
107 
DtLgrMode
General operation modes.
Definition: lcPdu.h:62
static DtLgrRemoteDisplayInfo * theRemoteDisplayInfo
Definition: lgrRemoteDisplayInfo.h:91
std::set< DtEntityIdentifier > DtEntityIdSet
Definition: remoteControlInterface.h:52
Instances of DtRemoteLoggerConnection are a family of messages used to control a remote instance of t...
Definition: lcRemoteLoggerConnection.h:27
Struct of the needed display info, state, protocol, color, ID, and open .lgr file.
Definition: lgrRemoteDisplayInfo.h:30
Contains MAKLogger::DtRemoteControlInterface for listening the Logger Control Toolkit messages...
Contains DtRemoteLoggerConnection.
Definition: lgrRemoteDisplayInfo.h:26
DtFilename lgrFile
Definition: lgrRemoteDisplayInfo.h:36
QColor lgrColor
Definition: lgrRemoteDisplayInfo.h:34
DtEntityIdentifier entityId
Definition: lgrRemoteDisplayInfo.h:35
#define DT_DLL_LGRREMOTEGUI
Definition: lgrRemoteGui.h:21
int myColorCount
Definition: lgrRemoteDisplayInfo.h:95
A time component represents the current time of the logger.
Definition: timeComponent.h:20
DtTimeComponent * myTimeInterface
Definition: lgrRemoteDisplayInfo.h:93
DtLgrMode lgrState
Definition: lgrRemoteDisplayInfo.h:32
DtLgrProtocol
Protocols.
Definition: lcPdu.h:42
DtRemoteLoggerConnection * myConnection
Definition: lgrRemoteDisplayInfo.h:92
DtLgrRemoteMainWindow * myMainWindow
Definition: lgrRemoteDisplayInfo.h:94
DtLgrProtocol lgrProtocol
Definition: lgrRemoteDisplayInfo.h:33
std::map< DtU16, DtRemoteDisplayInfo > myDisplayInfoMap
Definition: lgrRemoteDisplayInfo.h:90
Definition: lgrRemoteMainWindow.h:49

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)