LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2014 North Carolina State University | 3 * Copyright (c) 2014 North Carolina State University |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 * called by the user. | 91 * called by the user. |
92 * | 92 * |
93 * \param streamIndex first stream index to use | 93 * \param streamIndex first stream index to use |
94 * \return the number of stream indices assigned by this helper | 94 * \return the number of stream indices assigned by this helper |
95 */ | 95 */ |
96 int64_t AssignStreams (int64_t streamIndex); | 96 int64_t AssignStreams (int64_t streamIndex); |
97 | 97 |
98 /** | 98 /** |
99 * (Arbitrary) port number that is used to create a socket for transmitting WAV
E BSMs. | 99 * (Arbitrary) port number that is used to create a socket for transmitting WAV
E BSMs. |
100 */ | 100 */ |
101 static int wavePort; | 101 static uint16_t wavePort; |
102 | 102 |
103 protected: | 103 protected: |
104 virtual void DoDispose (void); | 104 virtual void DoDispose (void); |
105 | 105 |
106 private: | 106 private: |
107 // inherited from Application base class. | 107 // inherited from Application base class. |
108 virtual void StartApplication (void); ///< Called at time specified by Star
t | 108 virtual void StartApplication (void); ///< Called at time specified by Star
t |
109 virtual void StopApplication (void); ///< Called at time specified by Stop | 109 virtual void StopApplication (void); ///< Called at time specified by Stop |
110 | 110 |
111 /** | 111 /** |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 * On-board Minimum Performance Requirements | 174 * On-board Minimum Performance Requirements |
175 * for V2V Safety Systems Version 1.0, December 17, 2014 | 175 * for V2V Safety Systems Version 1.0, December 17, 2014 |
176 * max transmit delay (default 10ms) */ | 176 * max transmit delay (default 10ms) */ |
177 Time m_txMaxDelay; | 177 Time m_txMaxDelay; |
178 Time m_prevTxDelay; ///< prevous transmit delay | 178 Time m_prevTxDelay; ///< prevous transmit delay |
179 }; | 179 }; |
180 | 180 |
181 } // namespace ns3 | 181 } // namespace ns3 |
182 | 182 |
183 #endif /* BSM_APPLICATION_H*/ | 183 #endif /* BSM_APPLICATION_H*/ |
LEFT | RIGHT |