00001 // 00002 // h460tm.h 00003 // 00004 // Code automatically generated by asnparse. 00005 // 00006 00007 #ifndef OPAL_H460_H460TM_H 00008 #define OPAL_H460_H460TM_H 00009 00010 #ifdef P_USE_PRAGMA 00011 #pragma interface 00012 #endif 00013 00014 #include <opal/buildopts.h> 00015 00016 #if OPAL_H460 00017 00018 #include <ptclib/asner.h> 00019 00020 // 00021 // TMmode 00022 // 00023 00024 class H460TM_TMmode : public PASN_Enumeration 00025 { 00026 #ifndef PASN_LEANANDMEAN 00027 PCLASSINFO(H460TM_TMmode, PASN_Enumeration); 00028 #endif 00029 public: 00030 H460TM_TMmode(unsigned tag = UniversalEnumeration, TagClass tagClass = UniversalTagClass); 00031 00032 enum Enumerations { 00033 e_tmOpen = 1, 00034 e_tmPublic, 00035 e_tmPrivate, 00036 e_tmBroadcast, 00037 e_tmReceive 00038 }; 00039 00040 H460TM_TMmode & operator=(unsigned v); 00041 PObject * Clone() const; 00042 }; 00043 00044 00045 // 00046 // MultipointTM 00047 // 00048 00049 class H460TM_MultipointTM : public PASN_Sequence 00050 { 00051 #ifndef PASN_LEANANDMEAN 00052 PCLASSINFO(H460TM_MultipointTM, PASN_Sequence); 00053 #endif 00054 public: 00055 H460TM_MultipointTM(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass); 00056 00057 enum OptionalFields { 00058 e_sender, 00059 e_receiver 00060 }; 00061 00062 PASN_BMPString m_message; 00063 PASN_Integer m_sender; 00064 PASN_Integer m_receiver; 00065 00066 PINDEX GetDataLength() const; 00067 PBoolean Decode(PASN_Stream & strm); 00068 void Encode(PASN_Stream & strm) const; 00069 #ifndef PASN_NOPRINTON 00070 void PrintOn(ostream & strm) const; 00071 #endif 00072 Comparison Compare(const PObject & obj) const; 00073 PObject * Clone() const; 00074 }; 00075 00076 00077 #endif // OPAL_H460 00078 00079 #endif // OPAL_H460_H460TM_H 00080 00081 00082 // End of h460tm.h