VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifScriptedTaskOperation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfmsgs/vrfmsgsDefines.h"
14 #include "vrfmsgs/messageTypes.h"
17 
20 
32 
40 
42 {
43 
44 public:
47 
50 
53 
54  virtual ~DtIfScriptedTaskOperation();
55 
56  virtual int type() const;
57 
58  virtual DtSimInterfaceContent * clone() const;
59 
62 
63  virtual void setScriptId(const std::string&);
64  virtual const std::string& scriptId() const;
66 
69  virtual void setScriptedTask(const DtScriptedTaskMetaData&);
70  virtual const DtScriptedTaskMetaData& scriptedTask() const;
71 
75  virtual void setSourceScriptId(const std::string&);
76  virtual const std::string& sourceScriptId() const;
77 
79  virtual void setOperation(int);
80  virtual int operation() const;
81 
82  virtual int netRepSize() const;
83  virtual bool setFromNet(const char* contentBuffer,
84  unsigned contentSize);
85  virtual bool setToNet();
86 
87  virtual void printDataToString(DtString& str);
88 
89  static DtSimInterfaceContent* creator();
90 
91 protected:
92  std::string myScriptId;
95  std::string mySourceScriptId;
96 };
97 
99 
101 {
102 public:
105 
108 
110 
113 
115  virtual void setError(const std::string&);
116  virtual const std::string& error() const;
117 
118  virtual int type() const;
119 
120  virtual DtSimInterfaceContent * clone() const;
121  static DtSimInterfaceContent* creator();
122 
123 protected:
124  virtual int netRepSize() const;
125  virtual bool setFromNet(const char* contentBuffer,
126  unsigned contentSize);
127  virtual bool setToNet();
128 
129 protected:
130  std::string myError;
131 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)