LEFT | RIGHT |
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) 2007 University of Washington | 3 * Copyright (c) 2007 University of Washington |
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 11 matching lines...) Expand all Loading... |
22 // is not local to this simulator object. It simply over-rides the transmit | 22 // is not local to this simulator object. It simply over-rides the transmit |
23 // method and uses an MPI Send operation instead. | 23 // method and uses an MPI Send operation instead. |
24 | 24 |
25 #ifndef POINT_TO_POINT_REMOTE_CHANNEL_H | 25 #ifndef POINT_TO_POINT_REMOTE_CHANNEL_H |
26 #define POINT_TO_POINT_REMOTE_CHANNEL_H | 26 #define POINT_TO_POINT_REMOTE_CHANNEL_H |
27 | 27 |
28 #include "point-to-point-channel.h" | 28 #include "point-to-point-channel.h" |
29 | 29 |
30 namespace ns3 { | 30 namespace ns3 { |
31 | 31 |
32 class PointToPointRemoteChannel : public PointToPointChannel { | 32 class PointToPointRemoteChannel : public PointToPointChannel |
33 public: | 33 { |
34 static TypeId GetTypeId (void); | 34 public: |
35 PointToPointRemoteChannel(); | 35 static TypeId GetTypeId (void); |
36 ~PointToPointRemoteChannel(); | 36 PointToPointRemoteChannel (); |
37 virtual bool TransmitStart (Ptr<Packet> p, Ptr<PointToPointNetDevice> src, T
ime txTime); | 37 ~PointToPointRemoteChannel (); |
38 }; | 38 virtual bool TransmitStart (Ptr<Packet> p, Ptr<PointToPointNetDevice> src, Tim
e txTime); |
| 39 }; |
39 } | 40 } |
40 | 41 |
41 #endif | 42 #endif |
42 | 43 |
43 | 44 |
LEFT | RIGHT |