VR-Exchange 2.9 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pLinearObject.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 namespace MAKVrExchange
16 {
17 
21  {
22  public:
23 
26 
29 
31  virtual ~DtPortalLinearObject();
32 
34  DtPortalLinearObject& operator = ( const DtPortalLinearObject& rhs );
35 
38 
39  bool operator == ( const DtPortalLinearObject& rhs ) const;
40  bool operator != ( const DtPortalLinearObject& rhs ) const;
41 
43 
46 
47  DtDEC_ATTRIBUTE( DtU8, NumSegments, numSegments );
48  DtDEC_ATTRIBUTE( DtLinearSegmentParameterList, SegmentParameters, segmentParameters );
49 
51 
52  public:
53 
55 
56  static DtPortalMessage* create();
57 
58  virtual unsigned int netSize() const;
59  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
60  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
61 
62  virtual std::ostream& printDataToStream( std::ostream& str ) const;
63 
64  };
65 
66 
68  {
69  return new DtPortalLinearObject();
70  }
71 
72 }
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
The base class for all messages passed through the portal.
Definition: pMessage.h:66
Contains the DtPortalReflectedObjectManager class declaration.
Represents Environment Objects in a simulation.
Definition: pEnvironmentObject.h:20
std::vector< DtLinearSegmentData > DtLinearSegmentParameterList
Definition: linearSegmentData.h:137
static DtPortalMessage * create()
Definition: pLinearObject.h:67
Portal linear object for sending linear object types.
Definition: pLinearObject.h:20
Contains the DtPortalEnvironmentObject class declaration.
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
static const DtPortalMessageKind theKind
Definition: pLinearObject.h:54

Document ID: Generated on Tue Jun 25 16:45:35 EDT 2024 from SVN revision 267383
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)