WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pRadioTransmitterObject.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 
12 #include <portal/pEmbeddedSystem.h>
13 
14 namespace MAKVrExchange
15 {
16 
20  {
21  public:
22 
25 
28 
31 
34 
37 
38  virtual int operator == ( const DtPortalRadioTransmitterObject& rhs );
39  virtual int operator != ( const DtPortalRadioTransmitterObject& rhs );
40 
42 
45 
46  DtDEC_ATTRIBUTE( DtU16, AntennaPatternType, antennaPatternType );
47  DtDEC_ATTRIBUTE( DtVariableLengthData, AntennaPatternData, antennaPatternData );
48  DtDEC_ATTRIBUTE( DtU16, EncryptionKeyIdentifier, encryptionKeyIdentifier );
49  DtDEC_ATTRIBUTE( DtU32, CryptographicMode, cryptographicMode );
50  DtDEC_ATTRIBUTE( DtU32, CryptoSystem, cryptoSystem );
51  DtDEC_ATTRIBUTE( DtU32, DetailedModulationType, detailedModulationType );
52  DtDEC_ATTRIBUTE( DtU64, Frequency, frequency );
53  DtDEC_ATTRIBUTE( DtU64, StreamTag, streamTag );
54  DtDEC_ATTRIBUTE( DtFloat32, FrequencyBandwidth, frequencyBandwidth );
55  DtDEC_ATTRIBUTE( bool, FrequencyHopInUse, frequencyHopInUse );
56  DtDEC_ATTRIBUTE( DtU32, RadioInputSource, radioInputSource );
57  DtDEC_ATTRIBUTE( DtVariableLengthData, ModulationParamsData, modulationParamsData );
58  DtDEC_ATTRIBUTE( DtU32, RFModulationType, rfModulationType );
59  DtDEC_ATTRIBUTE( DtU32, RFModulationSystemType, rfModulationSystemType );
60  DtDEC_ATTRIBUTE( DtFloat32, TransmittedPower, transmittedPower );
61  DtDEC_ATTRIBUTE( bool, PseudoNoiseSpectrumInUse, pseudoNoiseSpectrumInUse );
62  DtDEC_ATTRIBUTE( DtU32, RadioIndex, radioIndex );
63  DtDEC_ATTRIBUTE( DtString, RadioSystemType, radioSystemType );
64  DtDEC_ATTRIBUTE( bool, TimeHopInUse, timeHopInUse );
65  DtDEC_ATTRIBUTE( DtU32, TransmitterOperationalStatus, transmitterOperationalStatus );
66  DtDEC_ATTRIBUTE( DtVector, WorldLocation, worldLocation );
67  DtDEC_ATTRIBUTE( DtU32, SpreadSpectrumType, spreadSpectrumType );
68 
70 
72  public:
73 
75 
76  static DtPortalMessage* create();
77 
78  virtual unsigned int netSize() const;
79  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
80  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
81 
82  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
83 
84  };
85 
86 
88  {
89  return new DtPortalRadioTransmitterObject();
90  }
91 
92 }
Represents variable length byte arrays.
Definition: variableLengthData.h:24
#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:65
static DtPortalMessage * create()
Definition: pRadioTransmitterObject.h:87
Contains the DtPortalEmbeddedSystem class declaration.
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Represents Embedded System Objects in a simulation.
Definition: pEmbeddedSystem.h:21
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pRadioTransmitterObject.h:74
Portal Radio Transmitter Object class.
Definition: pRadioTransmitterObject.h:19

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)