VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
clearTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
19 #include <readerWriter/rwInt.h>
20 #include <vlpi/netStructs.h>
21 
32 #include <readerWriter/rwString.h>
34 {
35 
36 public:
37 
39  DtClearTask();
40 
43  DtClearTask(const DtString & writeName,
44  DtReaderWriterRegistry * parentRegistry = 0);
45 
47  DtClearTask(const DtString & writeName, const DtClearTask &
48  orig, DtReaderWriterRegistry * parentRegistry = 0);
49 
51  const DtClearTask & operator=(const DtClearTask & orig);
52 
53  virtual ~DtClearTask();
54 
56  virtual const DtSetMessageType& type() const;
57 
59  virtual DtSetDataRequest * clone(const DtString & name,
60  DtReaderWriterRegistry * parentRegistry = 0) const;
61 
63  virtual DtString stringRep() const;
64 
66  virtual DtSimTaskMessageType taskType() const;
67  virtual void setTaskType(const DtSimTaskMessageType& type);
68 
71  virtual int netRepSize() const;
72 
74  virtual bool setFromNet(const char* contentBuffer,
75  unsigned contentSize);
76 
79  virtual bool setToNet();
80 
81  static DtSetDataRequest * creator();
82 
83 protected:
84 
86 
87 };
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtRwString myTaskType
Definition: clearTask.h:85
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data request...
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
File: clearTask.h.
Definition: clearTask.h:33
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest. Returns a human readable string represen...

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)