VR-Exchange 2.1 API Documentation
xmlBrokerLauncher.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
7 #ifndef xmlBrokerLauncher_H_
8 #define xmlBrokerLauncher_H_
9 
10 #include "mtl/configVar.h"
11 #include <namespace.h>
12 
14 {
15 public:
16 
18 
21 
24 
26  DtXMLBrokerLauncher& operator=(const DtXMLBrokerLauncher& vec);
27 
28  const DtString& name() const;
29  void setName(const DtString& val);
30 
31  const DtString& mtlFile() const;
32  void setMtlFile(const DtString& val);
33 
34  const DtString& executable() const;
35  void setExecutable(const DtString& val);
36 
37  const DtString& commandLine() const;
38  void setCommandLine(const DtString& val);
39 
40  const std::vector<DtString>& environmentLines() const;
41  void setEnvironmentLines(const std::vector<DtString>& val);
42 
43  bool dontStartOnLaunch() const;
44  void setDontStartOnLaunch(bool val);
45 
46 protected:
47 
52  std::vector<DtString> myEnvironmentLines;
54 };
55 
56 template <>
58 {
59  typedef _NativeTypeToArg<DtXMLBrokerLauncher>::Type ArgType;
60 
61  //Get the native type string.
62  static DtString nativeNameOfType();
63 
64  //Get the CmdLine ARG type string.
65  static DtString argNameOfType();
66 
67  //Get the XML schema type string.
68  static DtString xsNameOfType();
69 
70  //To and from CmdLine Argument types.
71  static ArgType convertToArgType(DtXMLBrokerLauncher value);
72  static DtXMLBrokerLauncher convertFromArgType(ArgType value);
73 
74  //To and From String conversions
75  static DtString convertToString(DtXMLBrokerLauncher value);
76  static DtXMLBrokerLauncher convertFromString(const DtString& value);
77 
78  //Get Schema Type
79  static DtEnvValueSP createSchemaType(DtEnvironment);
80 
81  //To and From Environment Value
82  static void convertToEnvironmentValue(DtEnvironment env,DtXMLBrokerLauncher value);
83  static DtXMLBrokerLauncher convertFromEnvironmentValue(DtEnvironment env);
84 };
85 
86 
87 
88 #endif //xmlBrokerLauncher_H_

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)