Panda3D
Public Member Functions

CFChannel Class Reference

Represents an open communication channel in the connected-frame protocol. More...

#include "cfChannel.h"

Inheritance diagram for CFChannel:
ReferenceCount MemoryBase

List of all members.

Public Member Functions

 CFChannel (DatagramGenerator *dggen, DatagramSink *dgsink)
 The DatagramGenerator and DatagramSink should be newly created on the free store (via the new operator).
 PT (CFCommand) receive_command()
void send_command (CFCommand *command)
 Delivers a single command to the process at the other end of the channel.

Detailed Description

Represents an open communication channel in the connected-frame protocol.

Commands may be sent and received on this channel.

Definition at line 30 of file cfChannel.h.


Constructor & Destructor Documentation

CFChannel::CFChannel ( DatagramGenerator dggen,
DatagramSink dgsink 
)

The DatagramGenerator and DatagramSink should be newly created on the free store (via the new operator).

The CFChannel will take ownership of these pointers, and will delete them when it destructs.

Definition at line 27 of file cfChannel.cxx.

References BamWriter::init(), and BamReader::init().


Member Function Documentation

void CFChannel::send_command ( CFCommand command)

Delivers a single command to the process at the other end of the channel.

Definition at line 56 of file cfChannel.cxx.

References BamWriter::write_object().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations