Inheritance diagram for Q922_Frame:

Public Member Functions | |
| Q922_Frame (PINDEX informationFieldSize=260) | |
| ~Q922_Frame () | |
| BYTE | GetHighOrderAddressOctet () const |
| BYTE | GetLowOrderAddressOctet () const |
| void | SetHighOrderAddressOctet (BYTE octet) |
| void | SetLowOrderAddressOctet (BYTE octet) |
| BYTE | GetControlFieldOctet () const |
| void | SetControlFieldOctet (BYTE octet) |
| BYTE * | GetInformationFieldPtr () const |
| PINDEX | GetInformationFieldSize () const |
| void | SetInformationFieldSize (PINDEX size) |
| BOOL | Decode (const BYTE *data, PINDEX size) |
| PINDEX | GetEncodedSize () const |
| BOOL | Encode (BYTE *buffer, PINDEX &size) const |
| BOOL | Encode (BYTE *buffer, PINDEX &size, BYTE &bitPosition) const |
Protected Attributes | |
| PINDEX | informationFieldSize |
Definition at line 47 of file q922.h.
| BOOL Q922_Frame::Decode | ( | const BYTE * | data, | |
| PINDEX | size | |||
| ) |
Decodes a Q.922 frame from a given buffer, returns the success of this operation
Reimplemented in H224_Frame.
Definition at line 118 of file q922.cxx.
References SetInformationFieldSize().
| PINDEX Q922_Frame::GetEncodedSize | ( | ) | const |
Returns an estimate of the encoded size. The receiver will use at most the size when encoding. Returns zero if encoding will fail.
Definition at line 188 of file q922.cxx.
References informationFieldSize.
| BOOL Q922_Frame::Encode | ( | BYTE * | buffer, | |
| PINDEX & | size | |||
| ) | const |
| BOOL Q922_Frame::Encode | ( | BYTE * | buffer, | |
| PINDEX & | size, | |||
| BYTE & | bitPosition | |||
| ) | const |
Encodes this Q.922 frame into the given buffer. On return, size contains the number of octets occupied in the buffer. Use bitPosition to determine at which bit the Q.922 FLAG sequence should begin. On return, bitPosition contains the bit at which the encoded stream ends. bitPosition shall be in the range 0-7, whereas 7 means that the FLAG sequence is encoded at byte boundaries
Definition at line 210 of file q922.cxx.
References GetInformationFieldSize(), and informationFieldSize.
1.5.2