library: libNetx #include "TXInputBuffer.h"

# TXInputBuffer

class description - source file - inheritance tree (.pdf)

## class TXInputBuffer

| Inheritance Chart:

`TXInputBuffer`

        private:

          TCondition* GetSyncObjOrMakeOne(Short_t streamid)
                Int_t MsgForStreamidCnt(Short_t streamid)

        public:

                         TXInputBuffer()
                         TXInputBuffer(const TXInputBuffer&)
                         ~TXInputBuffer()
              TXMessage* GetMsg(Short_t streamid, Int_t secstimeout)
                    bool IsMexEmpty()
                    bool IsSemEmpty()
                    long MexSize()
          TXInputBuffer& operator=(const TXInputBuffer&)
                   Int_t PutMsg(TXMessage* msg)
              TXMessage* RetrieveMsg(Short_t streamid)
                    long SemSize()

### Data Members

        private:

                  list<TXMessage*> fMsgQue       queue for incoming messages
                           TMutex* fMutex        mutex to protect data structures
          map<Short_t,TCondition*> fSyncobjRepo  each streamid counts on a condition

## Class Description

     TXInputBuffer

     Authors: Alvise Dorigo, Fabrizio Furano
              INFN Padova, 2003

### Inline Functions

                      void ~TXInputBuffer()
               TCondition* GetSyncObjOrMakeOne(Short_t streamid)
                     Int_t MsgForStreamidCnt(Short_t streamid)
             TXInputBuffer TXInputBuffer()
                      bool IsMexEmpty()
                      bool IsSemEmpty()
                      long MexSize()
                     Int_t PutMsg(TXMessage* msg)
                      long SemSize()
                TXMessage* GetMsg(Short_t streamid, Int_t secstimeout)
                TXMessage* RetrieveMsg(Short_t streamid)
             TXInputBuffer TXInputBuffer(const TXInputBuffer&)
            TXInputBuffer& operator=(const TXInputBuffer&)

Author: Alvise Dorigo, Fabrizio Furano
Last update: root/netx:$Name: $:$Id: TXInputBuffer.h,v 1.4 2005/05/08 13:49:31 rdm Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *