VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwEmbarkationSlot.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
12 #include "vrfutil/readerWriter.h"
13 #include "vrfutil/vrfutilDefines.h"
14 #include "vrfutil/rwInt.h"
15 #include "vrfutil/rwBoolean.h"
16 
19 {
20 public:
21 
22  //Default constructor
24 
25  //Real constructors
26  DtRwEmbarkationSlot(const DtString& name,
27  DtReaderWriterRegistry* parentRegistry = NULL);
29  DtReaderWriterRegistry* parentRegistry = NULL);
30 
31  //Copy constructor
34 
37  virtual void setEmbarkInSlot(int);
38  virtual int embarkInSlot() const;
39 
40  virtual void setChooseAnyAvailableSlotIfTaken(bool);
41  virtual bool chooseAnyAvailableSlotIfTaken() const;
42 
46  virtual const char* readerWriterType() const;
47 
49  static const char* theXmlType();
50 
51  virtual const char* xmlType() const
52  {
53  return theXmlType();
54  }
55 
56 protected:
59 };
60 
61 namespace DtBufferSerialize
62 {
64  DT_DLL_vrfutil char *encode(const DtRwEmbarkationSlot& val, char *buffer);
65  DT_DLL_vrfutil const char *decode(DtRwEmbarkationSlot &val, const char *buffer) ;
66 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)