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

DC_DummyPUSTelecommand.cpp

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_DummyPUSTelecommand.cpp 00005 // 00006 // Version 1.0 00007 // Date 4.12.02 00008 // Author A. Pasetti (P&P Software) 00009 00010 #include "../GeneralInclude/CompilerSwitches.h" 00011 #include "../GeneralInclude/ClassId.h" 00012 #include "../GeneralInclude/Constants.h" 00013 #include "../GeneralInclude/TestConstants.h" 00014 #include "DC_DummyPUSTelecommand.h" 00015 00016 DC_DummyPUSTelecommand::DC_DummyPUSTelecommand(void) { 00017 executionCounter = 0; 00018 setClassId(ID_DUMMYPUSTELECOMMAND); 00019 setAcknowledgeLevel(0); 00020 setTelecommandId(TEST_TC_ID); 00021 setSource(TEST_TC_SOURCE); 00022 setSubType(TEST_TC_SUBTYPE); 00023 setType(TEST_TC_TYPE); 00024 } 00025 00026 unsigned int DC_DummyPUSTelecommand::getExecutionCounter(void) { 00027 return executionCounter; 00028 } 00029 00030 TD_ActionOutcome DC_DummyPUSTelecommand::doAction(void) { 00031 executionCounter++; 00032 return ACTION_SUCCESS; 00033 } 00034
Copyright 2003 P&P Software GmbH - All Rights Reserved