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

CC_TelecommandManager.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // CC_TelecommandManager.h 00005 // 00006 // Version 1.0 00007 // Date 02.03.03 00008 // Author A. Pasetti (P&P Software) 00009 // 00010 // Change Record: 00011 00012 #ifndef CC_TelecommandManagerH 00013 #define CC_TelecommandManagerH 00014 00015 #include "../GeneralInclude/ForwardDeclarations.h" 00016 #include "../GeneralInclude/BasicTypes.h" 00017 #include "../Base/CC_RootObject.h" 00018 #include "Telecommand.h" 00019 #include "TelecommandLoader.h" 00020 00100 class CC_TelecommandManager : public CC_RootObject { 00101 00102 private: 00103 Telecommand** pTcList; // array of pointers -- pending telecommand list 00104 unsigned int tcListSize; 00105 unsigned int tcCounter; // number of pending telecommands 00106 TelecommandLoader* pTcLoader; 00107 ObsClock* pObsClock; 00108 00109 public: 00110 00117 CC_TelecommandManager(void); 00118 00123 void reset(void); 00124 00139 void setPendingTelecommandListSize(unsigned int listSize); 00140 00147 unsigned int getPendingTelecommandListSize(void); 00148 00154 unsigned int getPendingTelecommands(void); 00155 00167 Telecommand* getPendingTelecommand(unsigned int i); 00168 00201 virtual void load(Telecommand* pTelecommand); 00202 00223 virtual void abort(Telecommand* pTelecommand); 00224 00240 void abort(TD_TelecommandId telecommandId); 00241 00250 void setTelecommandLoader(TelecommandLoader* pTcLoader); 00251 00257 TelecommandLoader* getTelecommandLoader(void); 00258 00266 void setObsClock(ObsClock* pObsClock); 00267 00273 ObsClock* getObsClock(void); 00274 00297 virtual void activate(void); 00298 00306 virtual bool isObjectConfigured(void); 00307 00308 }; 00309 00310 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved