Introduce Simulator::ScheduleWithContext* and Simulator::GetContext

This commit is contained in:
Guillaume Seguin
2009-11-14 17:47:05 +01:00
parent 001791bad8
commit 5ce9ad2d78
11 changed files with 398 additions and 44 deletions

View File

@@ -36,6 +36,9 @@ class NetDevice;
*
* A channel is a logical path over which information flows. The path can
* be as simple as a short piece of wire, or as complicated as space-time.
*
* Subclasses must use Simulator::ScheduleWithContext to correctly update
* event contexts when scheduling an event from one node to another one.
*/
class Channel : public Object
{