Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F19814747
Continuous_Average.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
415 B
Referenced Files
None
Subscribers
None
Continuous_Average.h
View Options
#ifndef CON_AVG_HEADERFILE
#define CON_AVG_HEADERFILE
#include
"Unit.h"
class
Continuous_Average
:
public
Unit
{
private
:
unsigned
int
sample_counter
;
float
average
;
//private functions
void
init_avg
();
public
:
Continuous_Average
();
//Continuous_Average(char* name);
void
reset
();
float
calc_avg
(
float
sample_value
);
float
calc_avg
(
int
sample_value
);
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Jul 12, 2:07 PM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
329151
Default Alt Text
Continuous_Average.h (415 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment