#include <aggwrap.h>
Public Member Functions | |
virtual Ptr< RelationBase > | Compute (Ptr< RelationBase > result) |
Compute method as inherited from AggWrap that is not implemented. | |
virtual Ptr< RelationBase > | Compute (Ptr< RelationBase > result, Ptr< Tuple > event) |
Computes the aggregate result. |
virtual Ptr<RelationBase> ns3::rapidnet::AggWrapCount::Compute | ( | Ptr< RelationBase > | result, | |
Ptr< Tuple > | event | |||
) | [virtual] |
Computes the aggregate result.
The count aggregate wrap is also required to execute the last join operation with the event tuple in a series of joins that may be involved in the execution of the rule. This is because, if that last join result is empty, then the count value is set to 0 and all other attributes are retrieved from the event that fired the rule. This is precisely the reason why count aggwrap is implemented differently.
result | The input relation on which this aggregate is applied. | |
event | The event that triggered the rule that instantiated this aggwrap. |
virtual Ptr<RelationBase> ns3::rapidnet::AggWrapCount::Compute | ( | Ptr< RelationBase > | result | ) | [virtual] |
Compute method as inherited from AggWrap that is not implemented.
Implements ns3::rapidnet::AggWrap.