VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
requestRefuelAdmin.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 
19 {
20 public:
21 
24 
27 
29  const DtRequestRefuelAdmin & operator=(const
30  DtRequestRefuelAdmin & orig);
31 
33  virtual ~DtRequestRefuelAdmin();
34 
36  static DtAdminContent* create();
37 
39  virtual bool init();
40 
42  virtual const DtAdminContentMessageType& type() const;
43 
46  virtual DtAdminContent * clone() const;
47 
49 
50  virtual const DtString& fuelSystemType() const;
51  virtual void setFuelSystemType(const DtString& systemType);
53 
55  virtual DtString stringRep() const;
56 
58  virtual int netRepSize() const;
59 
61  virtual bool setFromNet(const char* contentBuffer,
62  unsigned contentSize);
63 
65  virtual bool setToNet();
66 
67 protected:
69 
70 };
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
DtString myFuelSystemType
Definition: requestRefuelAdmin.h:68
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
Admin content for a message that requests refueling for an A/C from a tanker The expected response to...
Definition: requestRefuelAdmin.h:18
#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.

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)