VR-Exchange 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pAdditionalPassiveActivitiesObject.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace MAKVrExchange
15 {
16 
22  {
23  public:
24 
27 
31 
34 
38 
41 
42  virtual bool operator == ( const DtPortalAdditionalPassiveActivitiesObject& other ) const;
43  virtual bool operator != ( const DtPortalAdditionalPassiveActivitiesObject& other ) const;
44 
46 
49 
50  DtDEC_ATTRIBUTE( DtU16, ActivityCode, activityCode );
51  DtDEC_ATTRIBUTE( DtU16, ActivityParameter, activityParameter );
52  DtDEC_ATTRIBUTE( DtU8, IsSilent, isSilent );
53 
55 
56  public:
57 
59 
60  static DtPortalMessage* create();
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& str ) const;
67 
68  };
69 
70 
72  {
74  }
75 
76 }
static DtPortalMessage * create()
Definition: pAdditionalPassiveActivitiesObject.h:71
#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
Messages which represent Active Sonars with state.
Definition: pUnderwaterAcousticsObject.h:24
The base class for all messages passed through the portal.
Definition: pMessage.h:65
Messages which represent Active Sonars with state.
Definition: pAdditionalPassiveActivitiesObject.h:20
static const DtPortalMessageKind theKind
Definition: pAdditionalPassiveActivitiesObject.h:58
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Contains the DtPortalUnderwaterAcousticObject class declaration.

Document ID: Generated on Mon Apr 19 15:55:22 EDT 2021 from SVN revision 227909
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)