VR-Forces 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() override;
50 
52  virtual int tdlMessageType() const override;
53 
54  virtual DtVrfTDLMessage * clone() const override;
55 
56  static DtVrfTDLMessage* creator();
57 
59  virtual void printDataToString(DtString& str) override;
60 
61  virtual int messageVersion() const override;
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 override;
75 
77  virtual int variableSize() const override;
78 
79 protected:
81  virtual void setFixedToNet(char* buffer) override;
82 
84  virtual int setFixedFromNet(const char* buffer) override;
85 
88  virtual const char* setVariableFromNet(const char* buffer, const char* fixedBuffer, int messageVersion) override;
89 
91  virtual char* setVariableToNet(char* buffer) override;
92 
93 protected:
96 };
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 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
Definition: vrfTDLMessage.h:54
virtual int fixedSize() const override
Fixed size of this message. Do not need to call parent method if this as the fixed portion will conta...
virtual int messageVersion() const override
DtString myOriginatorIdentifier
Definition: vrfTDLContactMessage.h:94
virtual int setFixedFromNet(const char *buffer) override
Sets the fixed portion from the buffer into internal structures and variables.
const DtVrfTDLPPLIMessage & operator=(DtVrfTDLPPLIMessage &orig)
assignment operator: shallow; assigns values only
DtVrfTDLContactMessageStruct()
Definition: vrfTDLContactMessage.h:27
virtual int tdlMessageType() const override
TDL Message type.
static DtVrfTDLMessage * creator()
virtual void setFixedToNet(char *buffer) override
Sets the fixed potion to the net. Must call parent method first.
virtual DtVrfTDLMessage * clone() const override
DtNetU32 myOriginatorIdentifierLength
Definition: vrfTDLContactMessage.h:32
virtual void printDataToString(DtString &str) override
Print message.
virtual int variableSize() const
Returns the variable data size.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)