/* * File: StdDeviationStatistic.h * Author: jgaebler * * Created on June 22, 2011, 4:23 PM */ #ifndef STDDEVIATIONSTATISTIC_H #define STDDEVIATIONSTATISTIC_H #include "../common/Platform.h" #include "../common/time/GenericTime.h" #if OMNETPP #include #else #pragma message("StdDeviationStatistic not implemented for ubeeme yet") #endif namespace ubeeme { namespace moversight { /** * @brief Provides an abstraction to collecting statistic data as standard deviation. * @author Jan Gäbler * @ingroup Moversight * @class StdDeviationStatistic */ #if OMNETPP class StdDeviationStatistic : public cStdDev { #else class StdDeviationStatistic { #endif public: StdDeviationStatistic(); StdDeviationStatistic(const char * name); ~StdDeviationStatistic(); void collect(const GenericTime & t); }; } } #endif /* STDDEVIATIONSTATISTIC_H */