VR-Exchange 2.9 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pEmbeddedSystem.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 
12 #include <portal/pObject.h>
13 
14 namespace MAKVrExchange
15 {
16 
22  {
23  public:
24 
27 
30 
32  virtual ~DtPortalEmbeddedSystem();
33 
35  DtPortalEmbeddedSystem& operator = ( const DtPortalEmbeddedSystem& original );
36 
39 
40  int operator == ( const DtPortalEmbeddedSystem &rightOperand ) const;
41  int operator != ( const DtPortalEmbeddedSystem &rightOperand ) const;
42 
44 
47 
49  DtDEC_ATTRIBUTE( DtEntityIdentifier, EntityIdentifier, entityIdentifier );
50 
52  DtDEC_ATTRIBUTE( DtString, HostObjectIdentifier, hostObjectIdentifier );
53 
55  DtDEC_ATTRIBUTE( DtVector32, RelativePosition, relativePosition );
56 
58 
60  public:
61 
62  virtual unsigned int netSize() const;
63  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
64  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
65 
66  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
67 
68  };
69 
70 }
#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
DtPortalObject are messages which also serve as state repositories for simulated objects.
Definition: pObject.h:23
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Contains the DtPortalObject class declaration.
Represents Embedded System Objects in a simulation.
Definition: pEmbeddedSystem.h:21

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)