Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TimeAggreg Class Reference

#include <aggregation_formats.h>

Collaboration diagram for TimeAggreg:
Collaboration graph

Public Member Functions

 TimeAggreg (double interval)
 
void bound_plus ()
 
bool in_interval (double time)
 

Private Attributes

double interval
 
double bound
 

Detailed Description

Class for packets aggregation according to time intervals

Definition at line 217 of file aggregation_formats.h.

Constructor & Destructor Documentation

TimeAggreg::TimeAggreg ( double  interval)

Definition at line 136 of file aggregation_formats.cpp.

References bound, and interval.

Member Function Documentation

void TimeAggreg::bound_plus ( )

After bound exceeding, set new bound

Definition at line 142 of file aggregation_formats.cpp.

References bound, and interval.

Referenced by AggregHandler::update_aggregation().

bool TimeAggreg::in_interval ( double  time)

Check if time is in current bounds

Definition at line 147 of file aggregation_formats.cpp.

References bound.

Referenced by AggregHandler::update_aggregation().

Member Data Documentation

double TimeAggreg::bound
private

Definition at line 221 of file aggregation_formats.h.

Referenced by bound_plus(), in_interval(), and TimeAggreg().

double TimeAggreg::interval
private

Definition at line 220 of file aggregation_formats.h.

Referenced by bound_plus(), and TimeAggreg().


The documentation for this class was generated from the following files:

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen