VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfTDLContactMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
12 
14 #include <matrix/vlVector.h>
15 #include <vlpi/entityType.h>
16 
21 
24 
26 {
28  {
29  }
30 
33 };
34 
36 {
37 public:
38 
41 
44 
47 
49  virtual ~DtVrfTDLContactMessage();
50 
52  virtual int tdlMessageType() const;
53 
54  virtual DtVrfTDLMessage * clone() const;
55 
56  static DtVrfTDLMessage* creator();
57 
59  virtual void printDataToString(DtString& str);
60 
61  virtual int messageVersion() const;
62 
64  virtual void setOriginatorIdentifier(const DtString&);
65  virtual const DtString& originatorIdentifier() const;
66 
68  virtual void setOriginatorMarkingText(const DtString&);
69  virtual const DtString& originatorMarkingText() const;
70 
74  virtual int fixedSize() const;
75 
77  virtual int variableSize() const;
78 
79 protected:
81  virtual void setFixedToNet(char* buffer);
82 
84  virtual int setFixedFromNet(const char* buffer);
85 
88  virtual const char* setVariableFromNet(const char* buffer, const char* fixedBuffer, int messageVersion);
89 
91  virtual char* setVariableToNet(char* buffer);
92 
93 protected:
96 };
virtual int tdlMessageType() const
TDL Message type.
virtual void setFixedToNet(char *buffer)
Sets the fixed potion to the net. Must call parent method first.
Definition: vrfTDLPPLIMessage.h:43
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
DtNetU32 myOriginatorMarkingTextLength
Definition: vrfTDLContactMessage.h:31
Contains the DtVrfTDLContactMessage class declaration.
Definition: vrfTDLContactMessage.h:25
Contains the DtVrfTDLPPLIMessage class declaration.
Definition: vrfTDLPPLIMessage.h:26
virtual char * setVariableToNet(char *buffer)
Sets the variable portion to the net.
virtual int setFixedFromNet(const char *buffer)
Sets the fixed portion from the buffer into internal structures and variables.
virtual const char * setVariableFromNet(const char *buffer, const char *fixedBuffer, int messageVersion)
Sets the variable portion into internal structures. Returns a pointer at the end of this variable suc...
DtString myOriginatorMarkingText
Definition: vrfTDLContactMessage.h:95
Definition: vrfTDLContactMessage.h:35
virtual void printDataToString(DtString &str)
Print message.
Definition: vrfTDLMessage.h:54
DtString myOriginatorIdentifier
Definition: vrfTDLContactMessage.h:94
const DtVrfTDLPPLIMessage & operator=(DtVrfTDLPPLIMessage &orig)
assignment operator: shallow; assigns values only
DtVrfTDLContactMessageStruct()
Definition: vrfTDLContactMessage.h:27
static DtVrfTDLMessage * creator()
virtual int messageVersion() const
virtual DtVrfTDLMessage * clone() const
virtual int fixedSize() const
Fixed size of this message. Do not need to call parent method if this as the fixed portion will conta...
DtNetU32 myOriginatorIdentifierLength
Definition: vrfTDLContactMessage.h:32
virtual int variableSize() const
Returns the variable data size.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)