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

DC_BasicPUSTcLoader.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_BasicPUSTcLoader.h 00005 // 00006 // Version 1.0 00007 // Date 11.01.04 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef DC_BasicPUSTcLoaderH 00011 #define DC_BasicPUSTcLoaderH 00012 00013 #include "../GeneralInclude/ForwardDeclarations.h" 00014 #include "../GeneralInclude/BasicTypes.h" 00015 #include "../Base/CC_RootObject.h" 00016 #include "TelecommandLoader.h" 00017 00069 class DC_BasicPUSTcLoader : public TelecommandLoader { 00070 00071 private: 00072 unsigned char* tcArea; // start address of telecommand area 00073 unsigned int maxTcDataPacketLength; // max length in bytes of TC packet data field 00074 unsigned int maxNumberOfTc; // max number of telecommand packets 00075 00076 public: 00077 00085 DC_BasicPUSTcLoader(void); 00086 00159 virtual void activate(void); 00160 00167 virtual void release(Telecommand* pTelecommand); 00168 00173 void setTcLoadAreaStart(unsigned char* startAddress); 00174 00182 void setMaxTcLength(unsigned int maxTcLength); 00183 00188 unsigned int getMaxTcLength(void) const; 00189 00195 void setMaxNumberOfTc(unsigned int max); 00196 00202 unsigned int getMaxNumberOfTc(void) const; 00203 00211 virtual bool isObjectConfigured(void); 00212 }; 00213 00214 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved