MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrProtocolRegistration.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 
10 #ifndef lgrProtocolRegistration_H_
11 #define lgrProtocolRegistration_H_
12 
13 #include <lgrCore/lgrCore.h>
14 
15 #include <lgrCmds/lgrCommand.h>
17 #include "loggerFile.h"
18 #include <lgrCore/stateObject.h>
20 
21 #include <vlutil/vlString.h>
22 
23 namespace MAKLogger
24 {
25  class DtLgrSimDriver;
26  class DtLgrSimManager;
27 
32  {
33 
35  (DtStateObject::creatorFunction objectCreator,
36  DtLgrSimInterface::creatorFunction interfaceCreator,
37  DtLgrProtocolId protocol,
38  DtString protocolString,
39  DtLgrSimDriver* simDriver,
40  DtLgrSimManager* simManager))
41 
42  virtual ~DtLgrProtocolRegistration();
43 
44  virtual bool validConfiguration();
45 
46  virtual DtStateObject::creatorFunction objectCreator();
47  virtual DtLgrSimInterface::creatorFunction interfaceCreator();
48  virtual DtLgrProtocolId protocol();
49  virtual DtString protocolString();
50  virtual DtLgrSimDriver* simDriver();
51  virtual DtLgrSimManager* simManager();
52 
53  protected:
54 
55  DtStateObject::creatorFunction myObjectCreator;
56  DtLgrSimInterface::creatorFunction myInterfaceCreator;
58  DtString myProtocolString;
61 
62  };
63 
64 }
65 
66 #endif
Contains MAKLogger::DtLgrSimInterface subclass of MAKLogger::DtCommandInterface.
DtLgrSimManager * mySimManager
Definition: lgrProtocolRegistration.h:60
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
The abstract interface for the class responsible for controlling the simulation.
Definition: lgrSimDriver.h:37
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
Implements a protocol independent Simulation manager.
Definition: lgrSimManager.h:40
DtLgrSimDriver * mySimDriver
Definition: lgrProtocolRegistration.h:59
Contains MAKLogger::DtLgrCommandType and MAKLogger::DtCommand classes.
#define DT_DLL_LGRCORE
Definition: lgrCore.h:19
A helper class for registering the necessary protocol specific information.
Definition: lgrProtocolRegistration.h:31
unsigned char DtLgrProtocolId
Definition: lgrCommand.h:24
Contains MAKLogger::DtStateObject class.
DtStateObject::creatorFunction myObjectCreator
Definition: lgrProtocolRegistration.h:55
DtLgrSimInterface::creatorFunction myInterfaceCreator
Definition: lgrProtocolRegistration.h:56
Contains MAKLogger::DtLoggerFile class.
Contains lgrCore library definitions.
DtLgrProtocolId myProtocol
Definition: lgrProtocolRegistration.h:57
DtString myProtocolString
Definition: lgrProtocolRegistration.h:58

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)