MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrAppCommandLine.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 lgrAppCommandLine_H_
10 #define lgrAppCommandLine_H_
11 
12 #include "lgrApp.h"
14 #include <map>
15 
16 namespace DtCmdLine
17 {
18  class CmdLine;
19  class Arg;
20 }
21 
22 namespace MAKLogger
23 {
24  class DtLgrArg;
25  class DtLoggerAppConfigLoader;
26  class DtLgrCmdLine;
27 
30  {
31  public:
33  virtual ~DtLgrAppCommandLine();
34 
35  private:
39  DtLgrAppCommandLine& operator=(const DtLgrAppCommandLine&);
40  public:
41 
44  virtual void processCommandLine(int argc,char** argv);
45 
46  protected:
47 
49  virtual void initializeArguments(DtLgrCmdLine& cmdLine);
50 
55  virtual void addArgument(DtLgrCmdLine& cmdLine,DtLgrArg* arg, bool isUnlabeled=false);
56 
58 
59  typedef std::map<DtString,DtLgrArg*> ArgumentMap;
61 
62  };
63 }
64 
65 #endif
#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
std::map< DtString, DtLgrArg * > ArgumentMap
Definition: lgrAppCommandLine.h:59
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
The logger application configuration file loader.
Definition: lgrConfigLoader.h:27
Command line processor.
Definition: lgrAppCommandLine.h:29
ArgumentMap myArguments
Definition: lgrAppCommandLine.h:60
Logger Command line object for parsing command input.
Definition: lgrAppCmdLine.h:19
Base logger argument which contains the interface for DtLgrValueArg.
Definition: lgrArg.h:21
Contains IMPORT/EXPORTS for library and the definition of DtLoggerApp class.
DtLoggerAppConfigLoader * myLoader
Definition: lgrAppCommandLine.h:57
#define DT_DLL_LGRAPP
Definition: lgrApp.h:20

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)