32#ifndef INTERNAL_HIGHLEVEL_H
33#define INTERNAL_HIGHLEVEL_H
38 ProfileId(
const ProfileId&);
39 ProfileId& operator=(
const ProfileId&);
51 ProfileId(
const char *name,
const char *descr,
const char *unit,
int precision,
int exp10);
58 static ProfileId *
GetFirst(
void) {
return first; }
65 ProfileId *
GetNext(
void)
const {
return m_next; }
72 const char *
GetName(
void)
const {
return m_name; }
79 const char *
GetUnit(
void)
const {
return m_unit?m_unit:
""; }
86 const char *
GetDescr(
void)
const {
return m_descr?m_descr:
""; }
109 double help=m_curVal;
133 if (frame<(
unsigned)m_firstFrame||
134 frame>=(
unsigned)curFrame)
136 value=m_recFrameVal[frame-m_firstFrame];
146 const char *
AsString(
double v)
const;
161 static void FrameEnd(
int which,
int mixIndex);
168 for (ProfileId *cur=first;cur;cur=cur->m_next)
181 MAX_FRAME_RECORDS = 4,
184 STRING_BUFFER_SIZE = 1024
196 static ProfileId *first;
223 double m_frameVal[MAX_FRAME_RECORDS];
226 double *m_recFrameVal;
232 ValueMode m_valueMode;
238 static unsigned frameRecordMask;
241 static char stringBuf[STRING_BUFFER_SIZE];
244 static unsigned stringBufUnused;
void add(float *sum, float *addend)
an internal high level profile ID
static int FrameStart(void)
static void ClearTotals(void)
const char * GetName(void) const
double GetTotalValue(void) const
void Increment(double add)
const char * GetDescr(void) const
ProfileId * GetNext(void) const
bool GetFrameValue(unsigned frame, double &value) const
const char * GetUnit(void) const
static ProfileId * GetFirst(void)
static void Shutdown(void)
const char * AsString(double v) const
static void FrameEnd(int which, int mixIndex)
double GetCurrentValue(void)