VR-Forces 4.1.1 Class Documentation
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"
16 
19 
22 
31 
37 
39 {
40 
41 public:
44 
47 
50 
51  virtual ~DtIfScriptedTaskOperation();
52 
53  virtual int type() const;
54 
55  virtual DtSimInterfaceContent * clone() const;
56 
58 
59  virtual void setScriptId(const std::string&);
60  virtual const std::string& scriptId() const;
62 
65  virtual void setScriptedTask(const DtScriptedTaskMetaData&);
66  virtual const DtScriptedTaskMetaData& scriptedTask() const;
67 
70  virtual void setSourceScriptId(const std::string&);
71  virtual const std::string& sourceScriptId() const;
72 
74  virtual void setOperation(int);
75  virtual int operation() const;
76 
77  virtual int netRepSize() const;
78  virtual bool setFromNet(const char* contentBuffer,
79  unsigned contentSize);
80  virtual bool setToNet();
81 
82  virtual void printDataToString(DtString& str);
83 
84  static DtSimInterfaceContent* creator();
85 
86 protected:
87  std::string myScriptId;
90  std::string mySourceScriptId;
91 };
92 
94 
96 {
97 public:
100 
103 
105 
108 
110  virtual void setError(const std::string&);
111  virtual const std::string& error() const;
112 
113  virtual int type() const;
114 
115  virtual DtSimInterfaceContent * clone() const;
116  static DtSimInterfaceContent* creator();
117 
118 protected:
119  virtual int netRepSize() const;
120  virtual bool setFromNet(const char* contentBuffer,
121  unsigned contentSize);
122  virtual bool setToNet();
123 
124 protected:
125  std::string myError;
126 };

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)