VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifTestResult.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
7 //VR-Forces includes
10 
13 
15 {
16 
17 public:
18  //default constructor
20 
21  //destructor
22  virtual ~DtIfTestResult() override;
23 
24  //copy constructor
25  DtIfTestResult(const DtIfTestResult& orig);
26 
27  //assignment operator
29 
30  //Returns the type of interface content.
31  virtual int type() const override;
32 
33  //Calls the copy constructor to create a clone
34  virtual DtSimInterfaceContent* clone() const override;
35 
36 
37  virtual void setStatus(const int& status);
38  virtual int status() const;
39 
40  virtual void setReason(const DtString& reason);
41  virtual DtString reason() const;
42 
43  //Returns the size of the full network representation padded to an 8-byte
44  //boundary.
45  virtual int netRepSize() const override;
46 
47  //Fills in the message from the network buffer
48  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
49 
50  //Fills in the network buffer with the message contents
51  virtual bool setToNet() override;
52 
53  //Prints the formatted contents of the message into the given string
54  virtual void printDataToString(DtString& str) override;
55 
56  //Static creator function which gets registered with the
57  //DtInterfaceContentFactory
58  static DtSimInterfaceContent* creator();
59 
60 
61 protected:
62  int myStatus;
64 
65 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
int myStatus
Definition: ifTestResult.h:62
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
Class DtIfTestResult Message used to send the Test Result.
Definition: ifTestResult.h:14
DtString myReason
Definition: ifTestResult.h:63
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0

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)