#include <DynamicParam.h>
Public Member Functions | |
DynamicParam (TupleAttributeDescriptor const &desc, bool isCounter=false) | |
TupleDatum const & | getDatum () const |
TupleAttributeDescriptor const & | getDesc () const |
Private Attributes | |
boost::scoped_array< FixedBuffer > | pBuffer |
TupleAttributeDescriptor | desc |
TupleDatum | datum |
bool | isCounter |
Friends | |
class | DynamicParamManager |
Definition at line 45 of file DynamicParam.h.
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 }
TupleDatum const & DynamicParam::getDatum | ( | ) | const [inline] |
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 }
friend class DynamicParamManager [friend] |
Definition at line 47 of file DynamicParam.h.
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] |
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().