open-dis-cpp
ModulationParameters.h
1 #pragma once
2 
3 #include <dis7/utils/DataStream.h>
4 #include <dis7/opendis7_export.h>
5 
6 
7 namespace DIS
8 {
9 // Modulation parameters associated with a specific radio system. INCOMPLETE. 6.2.58
10 
11 // Copyright (c) 2007-2009, MOVES Institute, Naval Postgraduate School. All rights reserved.
12 //
13 // @author DMcG, jkg
14 
15 class OPENDIS7_EXPORT ModulationParameters
16 {
17 protected:
18 
19  public:
21  virtual ~ModulationParameters();
22 
23  virtual void marshal(DataStream& dataStream) const;
24  virtual void unmarshal(DataStream& dataStream);
25 
26 
27 virtual int getMarshalledSize() const;
28 
29  bool operator ==(const ModulationParameters& rhs) const;
30 };
31 }
32 
33 // Copyright (c) 1995-2009 held by the author(s). All rights reserved.
34 // Redistribution and use in source and binary forms, with or without
35 // modification, are permitted provided that the following conditions
36 // are met:
37 //
38 // * Redistributions of source code must retain the above copyright
39 // notice, this list of conditions and the following disclaimer.
40 // * Redistributions in binary form must reproduce the above copyright
41 // notice, this list of conditions and the following disclaimer
42 // in the documentation and/or other materials provided with the
43 // distribution.
44 // * Neither the names of the Naval Postgraduate School (NPS)
45 // Modeling Virtual Environments and Simulation (MOVES) Institute
46 // (http://www.nps.edu and http://www.MovesInstitute.org)
47 // nor the names of its contributors may be used to endorse or
48 // promote products derived from this software without specific
49 // prior written permission.
50 //
51 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
52 // AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
53 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
54 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
55 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
56 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
57 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
58 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
59 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
60 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
61 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
62 // POSSIBILITY OF SUCH DAMAGE.
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
a class to support managing a network buffer.
Definition: DataStream.h:28
Definition: ModulationParameters.h:15