OLD | NEW |
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) 2008 INESC Porto | 3 * Copyright (c) 2008 INESC Porto |
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 /** | 204 /** |
205 * Set packet capture options function | 205 * Set packet capture options function |
206 * \param nodeId the node ID | 206 * \param nodeId the node ID |
207 * \param options the capture options | 207 * \param options the capture options |
208 */ | 208 */ |
209 void SetPacketCaptureOptions (uint32_t nodeId, PacketCaptureOptions options); | 209 void SetPacketCaptureOptions (uint32_t nodeId, PacketCaptureOptions options); |
210 | 210 |
211 | 211 |
212 // Yes, I know, this is just a utility function, not really related to the cla
ss in any way. | 212 // Yes, I know, this is just a utility function, not really related to the cla
ss in any way. |
213 | 213 |
214 // -#- @lineX1(direction=inout); @lineY1(direction=inout); @lineX2(direction=i
nout); @lineY2(direction=inout) -#- | 214 /** |
215 static void LineClipping (double boundsX1, double boundsY1, double boundsX2, d
ouble boundsY2, double &lineX1, double &lineY1, double &lineX2, double &lineY2);
///< don't break this line or pybindgen will not be able to pick up the above a
nnotation :( | 215 * Line clipping function |
216 | 216 * \param [in] boundsX1 X1 bounds |
| 217 * \param [in] boundsY1 Y1 bounds |
| 218 * \param [in] boundsX2 X2 bounds |
| 219 * \param [in] boundsY2 Y2 bounds |
| 220 * \param [inout] lineX1 the line X1 |
| 221 * \param [inout] lineY1 the line Y1 |
| 222 * \param [inout] lineX2 the line X2 |
| 223 * \param [inout] lineY2 the line Y2 |
| 224 */ |
| 225 static void LineClipping (double boundsX1, double boundsY1, double boundsX2, d
ouble boundsY2, double &lineX1, double &lineY1, double &lineX2, double &lineY2); |
217 | 226 |
218 private: | 227 private: |
219 | 228 |
220 /** | 229 /** |
221 * Get packet capture options function | 230 * Get packet capture options function |
222 * \param nodeId the node ID | 231 * \param nodeId the node ID |
223 * \param outOptions the packet capture options | 232 * \param outOptions the packet capture options |
224 * \returns true if successful | 233 * \returns true if successful |
225 */ | 234 */ |
226 bool GetPacketCaptureOptions (uint32_t nodeId, const PacketCaptureOptions **ou
tOptions) const; | 235 bool GetPacketCaptureOptions (uint32_t nodeId, const PacketCaptureOptions **ou
tOptions) const; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 bool m_stop; ///< stop? | 417 bool m_stop; ///< stop? |
409 Time m_runUntil; ///< run until time | 418 Time m_runUntil; ///< run until time |
410 /// stop simulation callback function | 419 /// stop simulation callback function |
411 void CallbackStopSimulation (); | 420 void CallbackStopSimulation (); |
412 }; | 421 }; |
413 | 422 |
414 | 423 |
415 } | 424 } |
416 | 425 |
417 #endif /* NS3_PYVIZ_H */ | 426 #endif /* NS3_PYVIZ_H */ |
OLD | NEW |