XFcPacketCreator class Reference

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XFcPacketCreator Class Reference

XFcPacketCreator is base interface for creating packet. More...

Inheritance diagram for XFcPacketCreator:

[legend]
List of all members.

## Public Member Functions

virtual INT32 | createPacket (XFcObjectDataQueue *aQueue, INT32 aSeqNum, XFcObjectDataPacket *aOdata)=0
| Creates data packet.
virtual INT32 | getPacketStatus ()=0
| Gets current status.
virtual | ~XFcPacketCreator ()
| Virtual destructor.

## Protected Member Functions

| XFcPacketCreator ()
| Protected constructor.

## Protected Attributes

INT | mPacketStyle
| Holds packet style.

## Detailed Description

XFcPacketCreator is base interface for creating packet.

## Constructor & Destructor Documentation

XFcPacketCreator::XFcPacketCreator | ( |  | ) | `[protected]`

| Protected constructor.

virtual XFcPacketCreator::~XFcPacketCreator | ( |  | ) | `[virtual]`

| Virtual destructor.

## Member Function Documentation

virtual INT32 XFcPacketCreator::createPacket | ( | XFcObjectDataQueue * | aQueue,
|  | INT32 | aSeqNum,
|  | XFcObjectDataPacket * | aOdata
| ) | `[pure virtual]`

Creates data packet.

Parameters:

  aQueue | packet queue.
  aSeqNum | sequency number.
  aOdata | data packet buffer.

Implemented in XFcAutoDataPacket, XFcMultipleDataPacket, and XFcSingleDataPacket.

virtual INT32 XFcPacketCreator::getPacketStatus | ( |  | ) | `[pure virtual]`

Gets current status.

Returns:
  packet status (XFCNET_ALONE, XFCNET_MULTI or XFCNET_AUTO).

Implemented in XFcAutoDataPacket, XFcMultipleDataPacket, and XFcSingleDataPacket.

## Member Data Documentation

INT XFcPacketCreator::mPacketStyle`[protected]`

| Holds packet style.

|  | X-Forge Documentation Confidential Copyright © 2002-2003 Fathammer |  | Documentation generated with doxygen by Dimitri van Heesch