UnderlayConfigurator.h File Reference

#include <omnetpp.h>

Go to the source code of this file.

Classes

class  UnderlayConfigurator
 Base class for configurators of different underlay models. More...

Defines

#define timersub(a, b, result)

Detailed Description

Author:
Stephan Krause, Bernhard Heep, Ingmar Baumgart

Definition in file UnderlayConfigurator.h.


Define Documentation

#define timersub ( a,
b,
result   ) 
Value:
do {                                                                        \
    (result)->tv_sec = (a)->tv_sec - (b)->tv_sec;                             \
    (result)->tv_usec = (a)->tv_usec - (b)->tv_usec;                          \
    if ((result)->tv_usec < 0) {                                              \
        --(result)->tv_sec;                                                     \
       (result)->tv_usec += 1000000;                                           \
    }                                                                         \
} while (0)

Definition at line 37 of file UnderlayConfigurator.h.

Referenced by SingleHostUnderlayConfigurator::finishUnderlay(), SimpleUnderlayConfigurator::finishUnderlay(), and InetUnderlayConfigurator::finishUnderlay().

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3