Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/Fred/TrainData.cpp

Go to the documentation of this file.
00001 Data::Data( int i, void* obj, bool v,
00002           double t_start, double t_exp,
00003           double last, double norm )
00004 {
00005     id             = i;
00006     object         = obj;
00007     valid          = v;
00008     time_start     = t_start;
00009     time_expire    = t_exp;
00010     last_update    = last;
00011     normal_update  = norm;
00012 }
00013 
00014 Data::Data( Data& d )
00015 {
00016     id             = d.id;
00017     object         = d.object;
00018     valid          = d.valid;
00019     time_start     = d.time_start;
00020     time_expire    = d.time_expire;
00021     last_update    = d.last_update;
00022     normal_update  = d.normal_update;
00023 }
00024 
00025 void Data::setTimer( double t_exp )
00026 {
00027     time_start  = Now();        // To be defined...
00028     time_expire = t_exp;
00029 }
00030 
00031 void Data::Expired() {
00032     valid = false;
00033 }

Generated on Sun Oct 14 18:46:41 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001