src/helper/point-to-point-helper.h
changeset 6026 38a97b815052
parent 6017 050fa2b861df
child 6028 96fb92f73f3d
equal deleted inserted replaced
6025:97abaecc0e96 6026:38a97b815052
    36 class NetDevice;
    36 class NetDevice;
    37 class Node;
    37 class Node;
    38 
    38 
    39 /**
    39 /**
    40  * \brief Build a set of PointToPointNetDevice objects
    40  * \brief Build a set of PointToPointNetDevice objects
       
    41  *
       
    42  * Normally we eschew multiple inheritance, however, the classes 
       
    43  * PcapUserHelperForDevice and AsciiTraceUserHelperForDevice are
       
    44  * treated as "mixins".  A mixin is a self-contained class that
       
    45  * encapsulates a general attribute or a set of functionality that
       
    46  * may be of interest to many other classes.
       
    47  * 
       
    48  * Since the mixins below are self-contained and are explicitly 
       
    49  * designed to avoid naming conflicts through explicit resolution,
       
    50  * multiple inheritance problems are avoided.
    41  */
    51  */
    42 class PointToPointHelper : public PcapUserHelperForDevice, public AsciiTraceUserHelperForDevice
    52 class PointToPointHelper : public PcapUserHelperForDevice, public AsciiTraceUserHelperForDevice
    43 {
    53 {
    44 public:
    54 public:
    45   /**
    55   /**