Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_DummyObsClock.cpp

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_DummyObsClock.cpp 00005 // 00006 // Version 1.0 00007 // Date 14.09.02 00008 // Author A. Pasetti (P&P Software) 00009 00010 #include "../GeneralInclude/CompilerSwitches.h" 00011 #include "../GeneralInclude/DebugSupport.h" 00012 #include "../GeneralInclude/ClassId.h" 00013 #include "../GeneralInclude/Constants.h" 00014 #include "DC_DummyObsClock.h" 00015 00016 DC_DummyObsClock::DC_DummyObsClock(void) { 00017 reset(); 00018 setClassId(ID_DUMMYOBSCLOCK); 00019 } 00020 00021 TD_ObsTime DC_DummyObsClock::getTime(void) { 00022 return time; 00023 } 00024 00025 TD_ObsCycle DC_DummyObsClock::getCycle(void) { 00026 return cycle; 00027 } 00028 00029 void DC_DummyObsClock::setTime(TD_ObsTime time) { 00030 assert( time>= 0 ); 00031 this->time = time; 00032 } 00033 00034 void DC_DummyObsClock::setCycle(TD_ObsCycle cycle) { 00035 assert( cycle>=0 ); 00036 this->cycle = cycle; 00037 } 00038 00039 void DC_DummyObsClock::reset(void) { 00040 time = 0; 00041 cycle = 0; 00042 } 00043 00044 void DC_DummyObsClock::synchronizeWithSystemTime(void) { 00045 return; 00046 }
Copyright 2003 P&P Software GmbH - All Rights Reserved