VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
initiateRefuelAdmin.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 "vrftasks/adminContent.h"
14 #include <list>
15 
18 {
19 public:
20 
23 
26 
28  const DtInitiateRefuelAdmin & operator=(const
29  DtInitiateRefuelAdmin & orig);
30 
32  virtual ~DtInitiateRefuelAdmin();
33 
35  static DtAdminContent* create();
36 
38  virtual bool init();
39 
41  virtual const DtAdminContentMessageType& type() const;
42 
44 
45  virtual int numberPositions() const;
46  virtual void setNumberPositions(int numPos);
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  virtual DtString stringRepModeName() const;
67 
68 protected:
71 };
72 
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer.
virtual int netRepSize() const
virtual DtAdminContent * clone() const =0
Make a copy of this content.
Definition: vrfObjectMessageTypeTemplate.h:24
int myNumberPositions
The list of available formation names.
Definition: initiateRefuelAdmin.h:70
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:24
virtual const DtAdminContentMessageType & type() const =0
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
virtual DtString stringRep() const =0
Get a readable string representation of this content.
Admin content which contains the number of refuel positions available.
Definition: initiateRefuelAdmin.h:17

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)