DynamicParam Class Reference

Dynamic parameters are parameters (physically tuples) shared amongst streams. More...

#include <DynamicParam.h>

List of all members.

Public Member Functions

 DynamicParam (TupleAttributeDescriptor const &desc, bool isCounter=false)
TupleDatum const & getDatum () const
TupleAttributeDescriptor const & getDesc () const

Private Attributes

boost::scoped_array< FixedBufferpBuffer
TupleAttributeDescriptor desc
TupleDatum datum
bool isCounter

Friends

class DynamicParamManager


Detailed Description

Dynamic parameters are parameters (physically tuples) shared amongst streams.

Author:
Wael Chatila
Version:
Id
//open/dev/fennel/exec/DynamicParam.h#13

Definition at line 45 of file DynamicParam.h.


Constructor & Destructor Documentation

DynamicParam::DynamicParam ( TupleAttributeDescriptor const &  desc,
bool  isCounter = false 
) [explicit]

Definition at line 32 of file DynamicParam.cpp.

References TupleAttributeDescriptor::cbStorage, desc, FixedBuffer, and pBuffer.

00035     : desc(descInit) , isCounter(isCounterInit)
00036 {
00037     pBuffer.reset(new FixedBuffer[desc.cbStorage]);
00038 }


Member Function Documentation

TupleDatum const & DynamicParam::getDatum (  )  const [inline]

Definition at line 171 of file DynamicParam.h.

References datum.

00172 {
00173     return datum;
00174 }

TupleAttributeDescriptor const & DynamicParam::getDesc (  )  const [inline]

Definition at line 176 of file DynamicParam.h.

References desc.

Referenced by DynamicParamManager::writeParam().

00177 {
00178     return desc;
00179 }


Friends And Related Function Documentation

friend class DynamicParamManager [friend]

Definition at line 47 of file DynamicParam.h.


Member Data Documentation

boost::scoped_array<FixedBuffer> DynamicParam::pBuffer [private]

Definition at line 49 of file DynamicParam.h.

Referenced by DynamicParamManager::decrementCounterParam(), DynamicParam(), DynamicParamManager::incrementCounterParam(), and DynamicParamManager::writeParam().

TupleAttributeDescriptor DynamicParam::desc [private]

Definition at line 50 of file DynamicParam.h.

Referenced by DynamicParam(), and getDesc().

TupleDatum DynamicParam::datum [private]

Definition at line 51 of file DynamicParam.h.

Referenced by getDatum(), and DynamicParamManager::writeParam().

bool DynamicParam::isCounter [private]

Definition at line 52 of file DynamicParam.h.

Referenced by DynamicParamManager::decrementCounterParam(), and DynamicParamManager::incrementCounterParam().


The documentation for this class was generated from the following files:
Generated on Mon Jun 22 04:00:30 2009 for Fennel by  doxygen 1.5.1