VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
clearTaskByTrackingNumAdminContent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrftasks/adminContent.h"
13 
17 {
18 public:
19 
22 
25 
29 
32 
34  static DtAdminContent* create();
35 
37  virtual bool init();
38 
40  virtual const DtAdminContentMessageType& type() const;
41 
44 
45  virtual void setTaskTrackingNumber(int n);
46  virtual int taskTrackingNumber() const;
48 
51  virtual DtAdminContent * clone() const;
52 
54  virtual DtString stringRep() const;
55 
57  virtual int netRepSize() const;
58 
60  virtual bool setFromNet(const char* contentBuffer,
61  unsigned contentSize);
62 
64  virtual bool setToNet();
65 
66 protected:
68 };
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...
virtual int netRepSize() const
virtual DtAdminContent * clone() const =0
Make a copy of this content. Returns a pointer to a newly created copy of this class. Derived classes must override this function to create and return an instance of the derived type.
int myTaskTrackingNumber
Definition: clearTaskByTrackingNumAdminContent.h:67
Admin content which instructs an entity to clear a specific task based on taskTrackingNumber.
Definition: clearTaskByTrackingNumAdminContent.h:16
Definition: vrfObjectMessageTypeTemplate.h:24
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
virtual DtString stringRep() const =0
Get a readable string representation of this content. Derived classes must implement this function...

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)