PAASS
Software suite to Acquire and Analyze Data from Pixie16
monitor.cpp File Reference

Receives and decodes rate packets from StatsHandler. More...

#include <stdlib.h>
#include <iostream>
#include <string.h>
#include <sstream>
#include <iomanip>
#include <cmath>
#include "poll2_socket.h"
Include dependency graph for monitor.cpp:

Go to the source code of this file.

Macros

#define KILOBYTE   1024
 
#define MEGABYTE   1048576
 
#define GIGABYTE   1073741824
 

Functions

double GetOrder (unsigned int input_, unsigned int &power)
 
std::string GetChanRateString (double input_)
 
std::string GetChanTotalString (unsigned int input_)
 
std::string GetRateString (double input_)
 
std::string GetTimeString (double input_)
 
int main ()
 

Detailed Description

Receives and decodes rate packets from StatsHandler.

Author
Cory R. Thornsberry
Date
June 4th, 2015
Version
1.0

Definition in file monitor.cpp.

Macro Definition Documentation

§ GIGABYTE

#define GIGABYTE   1073741824

Definition at line 23 of file monitor.cpp.

§ KILOBYTE

#define KILOBYTE   1024

Definition at line 21 of file monitor.cpp.

§ MEGABYTE

#define MEGABYTE   1048576

Definition at line 22 of file monitor.cpp.

Function Documentation

§ GetChanRateString()

std::string GetChanRateString ( double  input_)

Definition at line 39 of file monitor.cpp.

Here is the caller graph for this function:

§ GetChanTotalString()

std::string GetChanTotalString ( unsigned int  input_)

Definition at line 60 of file monitor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ GetOrder()

double GetOrder ( unsigned int  input_,
unsigned int &  power 
)

Definition at line 26 of file monitor.cpp.

Here is the caller graph for this function:

§ GetRateString()

std::string GetRateString ( double  input_)

Definition at line 88 of file monitor.cpp.

Here is the caller graph for this function:

§ GetTimeString()

std::string GetTimeString ( double  input_)

Definition at line 101 of file monitor.cpp.

Here is the caller graph for this function:

§ main()

int main ( )

Definition at line 126 of file monitor.cpp.

Here is the call graph for this function: