#include <ExecStreamGenerator.h>
Inheritance diagram for DynamicParamExecStreamGenerator:
Public Member Functions | |
DynamicParamExecStreamGenerator (DynamicParamId dynamicParamId_, SharedDynamicParamManager paramManager_) | |
virtual int64_t | generateValue (uint iRow, uint iCol) |
Generates one data value. | |
Private Attributes | |
DynamicParamId | dynamicParamId |
SharedDynamicParamManager | paramManager |
Definition at line 128 of file ExecStreamGenerator.h.
DynamicParamExecStreamGenerator::DynamicParamExecStreamGenerator | ( | DynamicParamId | dynamicParamId_, | |
SharedDynamicParamManager | paramManager_ | |||
) | [inline] |
Definition at line 134 of file ExecStreamGenerator.h.
00137 : dynamicParamId(dynamicParamId_), 00138 paramManager(paramManager_) 00139 { 00140 // empty 00141 }
virtual int64_t DynamicParamExecStreamGenerator::generateValue | ( | uint | iRow, | |
uint | iCol | |||
) | [inline, virtual] |
Generates one data value.
iRow | 0-based row number to generate | |
iCol | 0-based col number to generate |
Implements MockProducerExecStreamGenerator.
Definition at line 143 of file ExecStreamGenerator.h.
References dynamicParamId, and paramManager.
00144 { 00145 int64_t value = *reinterpret_cast<int64_t const *>( 00146 paramManager->getParam(dynamicParamId).getDatum().pData); 00147 return value; 00148 }
DynamicParamId DynamicParamExecStreamGenerator::dynamicParamId [private] |