VR-Forces 4.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 
30 
36 
38 {
39 
40 public:
43 
46 
49 
50  virtual ~DtIfScriptedTaskOperation();
51 
52  virtual int type() const;
53 
54  virtual DtSimInterfaceContent * clone() const;
55 
57 
58  virtual void setScriptId(const std::string&);
59  virtual const std::string& scriptId() const;
61 
64  virtual void setScriptedTask(const DtScriptedTaskMetaData&);
65  virtual const DtScriptedTaskMetaData& scriptedTask() const;
66 
69  virtual void setSourceScriptId(const std::string&);
70  virtual const std::string& sourceScriptId() const;
71 
73  virtual void setOperation(int);
74  virtual int operation() const;
75 
76  virtual int netRepSize() const;
77  virtual bool setFromNet(const char* contentBuffer,
78  unsigned contentSize);
79  virtual bool setToNet();
80 
81  virtual void printDataToString(DtString& str);
82 
83  static DtSimInterfaceContent* creator();
84 
85 protected:
86  std::string myScriptId;
89  std::string mySourceScriptId;
90 };
91 
93 
95 {
96 public:
99 
102 
104 
107 
109  virtual void setError(const std::string&);
110  virtual const std::string& error() const;
111 
112  virtual int type() const;
113 
114  virtual DtSimInterfaceContent * clone() const;
115  static DtSimInterfaceContent* creator();
116 
117 protected:
118  virtual int netRepSize() const;
119  virtual bool setFromNet(const char* contentBuffer,
120  unsigned contentSize);
121  virtual bool setToNet();
122 
123 protected:
124  std::string myError;
125 };

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)