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

PUSTcManoeuvre.cpp

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // PUSTcManoeuvre.cpp 00005 // 00006 // Version 1.0 00007 // Date 10.11.03 00008 // Author A. Pasetti (P&P Software) 00009 00010 #include "../GeneralInclude/CompilerSwitches.h" 00011 #include "../GeneralInclude/DebugSupport.h" 00012 #include "../GeneralInclude/Constants.h" 00013 #include "../Base/CC_RootObject.h" 00014 #include "PUSTcManoeuvre.h" 00015 00016 PUSTcManoeuvre::PUSTcManoeuvre(void) { 00017 progressAck = false; 00018 completionAck = false; 00019 startAck = false; 00020 tcId = 0; 00021 } 00022 00023 void PUSTcManoeuvre::generateProgressEvent(void) { 00024 CC_RootObject::getEventRepository()->create(this,EVT_MAN_PROGRESS); 00025 } 00026 00027 bool PUSTcManoeuvre::isStartAckRequired(void) const { 00028 return startAck; 00029 } 00030 00031 bool PUSTcManoeuvre::isProgressAckRequired(void) const { 00032 return progressAck; 00033 } 00034 00035 bool PUSTcManoeuvre::isCompletionAckRequired(void) const { 00036 return completionAck; 00037 } 00038 00039 void PUSTcManoeuvre::setStartAckFlag(bool startAckFlag) { 00040 startAck = startAckFlag; 00041 } 00042 00043 void PUSTcManoeuvre::setCompletionAckFlag(bool completionAckFlag) { 00044 completionAck = completionAckFlag; 00045 } 00046 00047 void PUSTcManoeuvre::setProgressAckFlag(bool progressAckFlag) { 00048 progressAck = progressAckFlag; 00049 } 00050 00051 TD_TelecommandId PUSTcManoeuvre::getTelecommandId(void) const { 00052 return tcId; 00053 } 00054 00055 void PUSTcManoeuvre::setTelecommandId(TD_TelecommandId tcIdentifier) { 00056 assert( tcIdentifier>0 ); 00057 tcId = tcIdentifier; 00058 }
Copyright 2003 P&P Software GmbH - All Rights Reserved