CPN
Computational Process Networks
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
ThresholdQueueAttr Class Reference

#include <ThresholdQueueAttr.h>

+ Collaboration diagram for ThresholdQueueAttr:

Public Types

typedef unsigned long ulong
 

Public Member Functions

 ThresholdQueueAttr (ulong queueLen, ulong maxThresh, ulong numChans=1, bool useMBS_=1, ulong chanOffst=0, ulong baseOffst=0)
 
ulong QueueLength (void) const
 
ulong QueueLength (ulong queueLen)
 
ulong MaxThreshold (void) const
 
ulong MaxThreshold (ulong maxThresh)
 
ulong NumChannels (void) const
 
ulong NumChannels (ulong numChans)
 
void UseMBS (bool useMBS_, ulong chanOffst=0, ulong baseOffst=0)
 

Protected Attributes

ulong queueLength
 
ulong maxThreshold
 
ulong numChannels
 
bool useMBS
 
ulong chanOffset
 
ulong baseOffset
 

Friends

class ThresholdQueueBase
 

Detailed Description

Definition at line 15 of file ThresholdQueueAttr.h.

Member Typedef Documentation

typedef unsigned long ThresholdQueueAttr::ulong

Definition at line 17 of file ThresholdQueueAttr.h.

Constructor & Destructor Documentation

ThresholdQueueAttr::ThresholdQueueAttr ( ulong  queueLen,
ulong  maxThresh,
ulong  numChans = 1,
bool  useMBS_ = 1,
ulong  chanOffst = 0,
ulong  baseOffst = 0 
)
inline

Definition at line 19 of file ThresholdQueueAttr.h.

21  : queueLength(queueLen), maxThreshold(maxThresh), numChannels(numChans),
22  useMBS(useMBS_), chanOffset(chanOffst), baseOffset(baseOffst) {}

Member Function Documentation

ulong ThresholdQueueAttr::MaxThreshold ( void  ) const
inline

Definition at line 26 of file ThresholdQueueAttr.h.

References maxThreshold.

26 { return maxThreshold; }
ulong ThresholdQueueAttr::MaxThreshold ( ulong  maxThresh)
inline

Definition at line 27 of file ThresholdQueueAttr.h.

References maxThreshold.

27 { return maxThreshold = maxThresh; }
ulong ThresholdQueueAttr::NumChannels ( void  ) const
inline

Definition at line 28 of file ThresholdQueueAttr.h.

References numChannels.

28 { return numChannels; }
ulong ThresholdQueueAttr::NumChannels ( ulong  numChans)
inline

Definition at line 29 of file ThresholdQueueAttr.h.

References numChannels.

29 { return numChannels = numChans; }
ulong ThresholdQueueAttr::QueueLength ( void  ) const
inline

Definition at line 24 of file ThresholdQueueAttr.h.

References queueLength.

24 { return queueLength; }
ulong ThresholdQueueAttr::QueueLength ( ulong  queueLen)
inline

Definition at line 25 of file ThresholdQueueAttr.h.

References queueLength.

25 { return queueLength = queueLen; }
void ThresholdQueueAttr::UseMBS ( bool  useMBS_,
ulong  chanOffst = 0,
ulong  baseOffst = 0 
)
inline

Definition at line 31 of file ThresholdQueueAttr.h.

References baseOffset, chanOffset, and useMBS.

32  { useMBS=useMBS_; chanOffset=chanOffst; baseOffset=baseOffst; }

Friends And Related Function Documentation

friend class ThresholdQueueBase
friend

Definition at line 42 of file ThresholdQueueAttr.h.

Member Data Documentation

ulong ThresholdQueueAttr::baseOffset
protected

Definition at line 40 of file ThresholdQueueAttr.h.

Referenced by ThresholdQueueBase::ThresholdQueueBase(), and UseMBS().

ulong ThresholdQueueAttr::chanOffset
protected

Definition at line 39 of file ThresholdQueueAttr.h.

Referenced by ThresholdQueueBase::ThresholdQueueBase(), and UseMBS().

ulong ThresholdQueueAttr::maxThreshold
protected

Definition at line 36 of file ThresholdQueueAttr.h.

Referenced by MaxThreshold().

ulong ThresholdQueueAttr::numChannels
protected

Definition at line 37 of file ThresholdQueueAttr.h.

Referenced by NumChannels().

ulong ThresholdQueueAttr::queueLength
protected

Definition at line 35 of file ThresholdQueueAttr.h.

Referenced by QueueLength().

bool ThresholdQueueAttr::useMBS
protected

Definition at line 38 of file ThresholdQueueAttr.h.

Referenced by ThresholdQueueBase::ThresholdQueueBase(), and UseMBS().


The documentation for this class was generated from the following file: