class FifoSpecs

Class that specificates all configuration parameters of a Fifo in the DD pool.

Inheritance:


Public Methods

[more] FifoSpecs()
Emtpy constructor
[more] FifoSpecs( const char* name, const char* type, Fifo_mode* pMode, int slot_nb)
constructor in which all arguments are specified
[more] Functions inherited from otnetObject
[more] Accessors


Documentation

Class that specificates all configuration parameters of a Fifo in the DD pool. The parameters are:

This class is used to pass the fifo parameters over the socket from the remote client to the DD server, who will create the fifo. It inherits the ability to be passed through the socket by inheritance from otnetObject.

o FifoSpecs()
Emtpy constructor

o FifoSpecs( const char* name, const char* type, Fifo_mode* pMode, int slot_nb)
constructor in which all arguments are specified

o Functions inherited from otnetObject

oint objToSocket( int file_descriptor )
To write the object into the socket.
Returns:
number of bytes written or -1 in case of error

oint objFromSocket( int file_descriptor)
To read the object from the socket.
Returns:
number of bytes read or -1 in case of error

o Accessors

oinline const char* getName() const
Returns the name of the fifo

oinline const char* getType() const
Returns the type of the Fifo ("DYN" or "STATIC" )

oinline const Fifo::sFifo_mode& getMode() const
Returns the mode of the fifo - see Fifo for description of the various modes

oinline int getSlot() const
Returns the slot number


This class has no child classes.
Friends:
ostream& operator<<( ostream &os, FifoSpecs &theSpecs )
Author:
C.Witzig
Date: May 23, 99
Version:
Last update August 20, 99

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.