A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::Avg Class Reference

#include <Avg.h>

+ Inheritance diagram for pdb::Avg:
+ Collaboration diagram for pdb::Avg:

Public Member Functions

ENABLE_DEEP_COPY Avg ()
 
 Avg (double total, int count)
 
double getAvg ()
 
Avgoperator+ (Avg &avg)
 
- Public Member Functions inherited from pdb::Object
void setVTablePtr (void *setToMe)
 
void * getVTablePtr ()
 
virtual void setUpAndCopyFrom (void *target, void *source) const
 
virtual void deleteObject (void *deleteMe)
 
virtual size_t getSize (void *ofMe)
 

Public Attributes

double total
 
int count
 

Additional Inherited Members

- Static Public Member Functions inherited from pdb::Object
static void * operator new (size_t sz, const std::nothrow_t &tag)
 
static void * operator new (size_t sz)
 
static void operator delete (void *me)
 
static void * operator new (std::size_t count, void *ptr)
 

Detailed Description

Definition at line 30 of file Avg.h.

Constructor & Destructor Documentation

ENABLE_DEEP_COPY pdb::Avg::Avg ( )
inline

Definition at line 39 of file Avg.h.

pdb::Avg::Avg ( double  total,
int  count 
)
inline

Definition at line 41 of file Avg.h.

Member Function Documentation

double pdb::Avg::getAvg ( )
inline

Definition at line 46 of file Avg.h.

+ Here is the caller graph for this function:

Avg& pdb::Avg::operator+ ( Avg avg)
inline

Definition at line 50 of file Avg.h.

Member Data Documentation

int pdb::Avg::count

Definition at line 34 of file Avg.h.

double pdb::Avg::total

Definition at line 33 of file Avg.h.


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