00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 #ifndef __JAUS_CORE_DISCOVERY_REPORT_SUBSYSTEM_LIST__H 00041 #define __JAUS_CORE_DISCOVERY_REPORT_SUBSYSTEM_LIST__H 00042 00043 #include "jaus/core/corecodes.h" 00044 #include "jaus/core/message.h" 00045 00046 00047 namespace JAUS 00048 { 00065 class JAUS_CORE_DLL ReportSubsystemList : public Message 00066 { 00067 public: 00068 ReportSubsystemList(const Address& dest = Address(), const Address& src = Address()); 00069 ReportSubsystemList(const ReportSubsystemList& message); 00070 ~ReportSubsystemList(); 00071 Address::List* GetSubsystemList() { return &mSubsystemList; } 00072 const Address::List* GetSubsystemList() const { return &mSubsystemList; } 00073 virtual bool IsCommand() const { return false; } 00074 virtual int WriteMessageBody(Packet& packet) const; 00075 virtual int ReadMessageBody(const Packet& packet); 00076 virtual Message* Clone() const { return new ReportSubsystemList(*this); } 00077 virtual UInt GetPresenceVector() const { return 0; } 00078 virtual UInt GetPresenceVectorSize() const { return 0; } 00079 virtual UInt GetPresenceVectorMask() const { return 0; } 00080 virtual UShort GetMessageCodeOfResponse() const { return 0; } 00081 virtual std::string GetMessageName() const { return "Report Subsystem List"; } 00082 virtual void ClearMessageBody(); 00083 virtual bool IsLargeDataSet(const unsigned int maxPayloadSize) const; 00084 ReportSubsystemList& operator=(const ReportSubsystemList& message); 00085 protected: 00086 Address::List mSubsystemList; 00087 }; 00088 } 00089 00090 #endif 00091 /* End of File */