time_period_t Struct Reference

Time period to use for the display of a frame. More...

#include <time-period.h>

Public Types

enum  {
  LIVE = 0, SECOND, MINUTE, HOUR,
  DAY, WEEK, MONTH, YEAR,
  LAST_TIME_PERIOD_T
}

Data Fields

enum time_period_t:: { ... }  type
int value

Detailed Description

Time period to use for the display of a frame.

Represents the time range to use for the frame (for instance, 1 day, 3 weeks) It is made of two components: one sets the time unit to use, the other one sets the value. For instance, the unit may be week and the value 3, this will be a 3 weeks time period.

Definition at line 42 of file time-period.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
LIVE 
SECOND 
MINUTE 
HOUR 
DAY 
WEEK 
MONTH 
YEAR 
LAST_TIME_PERIOD_T 

Definition at line 43 of file time-period.h.

00043          {
00044         LIVE=0,
00045         SECOND,
00046         MINUTE, 
00047         HOUR,
00048         DAY,
00049         WEEK,
00050         MONTH,
00051         YEAR,
00052         LAST_TIME_PERIOD_T  // DO NOT USE - FOR LOOP PURPOSE ONLY
00053     } type;     


Field Documentation

enum { ... } time_period_t::type

Unit of time to use for the time period (Live means real time)

Amount of time units (ie. seconds/months...) for this time period

Definition at line 54 of file time-period.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Tue Jan 12 00:48:45 2010 for ENSIBSynema by  doxygen 1.6.1