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

DataPool.cpp

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DataPool.cpp 00005 // 00006 // Version 1.0 00007 // Date 10.10.03 (Version 1.0) 00008 // Author A. Pasetti (P&P Software) 00009 // 00010 00011 #include "../GeneralInclude/CompilerSwitches.h" 00012 #include "../GeneralInclude/BasicTypes.h" 00013 #include "../GeneralInclude/ClassId.h" 00014 #include "../GeneralInclude/Constants.h" 00015 #include "../FDIR/DC_NullProfile.h" 00016 #include "../FDIR/DC_NullRecoveryAction.h" 00017 #include "DC_DataItem.h" 00018 #include "DataPool.h" 00019 00020 DataPool::DataPool(void) { 00021 dummyInt = 0; 00022 pNullRecoveryAction = new DC_NullRecoveryAction(); 00023 pNullProfile = new DC_NullProfile(); 00024 pDummyDataItem = new DC_DataItem(&dummyInt); 00025 } 00026 00027 DC_DataItem* DataPool::getDataItem(TD_DataPoolId id) { 00028 return pDummyDataItem; 00029 } 00030 00031 TD_ObsTime DataPool::getTimeStamp(TD_DataPoolId id) { 00032 return (TD_ObsTime)0; 00033 } 00034 00035 bool DataPool::isValid(TD_DataPoolId id) { 00036 return true; 00037 } 00038 00039 void DataPool::setValidityStatus(TD_DataPoolId id, bool newValidityStatus) { 00040 return; 00041 } 00042 00043 MonitoringProfile* DataPool::getMonitoringProfile(TD_DataPoolId id) { 00044 return pNullProfile; 00045 } 00046 00047 RecoveryAction* DataPool::getRecoveryAction(TD_DataPoolId id) { 00048 return pNullRecoveryAction; 00049 } 00050 00051 TD_DataPoolId DataPool::firstIdentifier(void) { 00052 return 0; 00053 } 00054 00055 TD_DataPoolId DataPool::nextIdentifier(void) { 00056 return 0; 00057 } 00058 00059 bool DataPool::isLastIdentifier(void) { 00060 return true; 00061 } 00062 00063 bool DataPool::isFloat(TD_DataPoolId id) { 00064 return true; 00065 } 00066 00067 bool DataPool::isInteger(TD_DataPoolId id) { 00068 return true; 00069 } 00070 00071 void DataPool::reset(void) { 00072 return; 00073 }
Copyright 2003 P&P Software GmbH - All Rights Reserved