The single-thread window slider used for verify results of other WS. More...
#include <WindowSlider/VerifyWS.h>


Public Member Functions | |
| void | reset () |
| reset everything needed | |
| VerifyWS (size_t sLen, size_t rLen) | |
| to init the slider with specific length of queue More... | |
| void | initJoinProcessors () |
| to init the initJoinProcessors More... | |
| void | terminateJoinProcessors () |
| to terminate the join processors | |
| void | waitAckFromJoinProcessors () |
| to wait the response of join processors | |
| size_t | getJoinResult () |
| to get the result of join More... | |
Public Member Functions inherited from INTELLI::AbstractWS | |
| void | setTimeBased (bool ts) |
| to configure the window type More... | |
| bool | isTimeBased () |
| to read the window type More... | |
| void | setRunTimeScheduling (bool r) |
| to configure the scheduling place More... | |
| bool | isRunTimeScheduling () |
| to read the scheduling type More... | |
| void | setWindowLen (size_t wl) |
| to set the length of window More... | |
| void | setSlideLen (size_t sli) |
| set the length of slide More... | |
| size_t | getSlideLen () |
| get the length of slide More... | |
| void | setParallelSMP (size_t threads) |
| to set the parallel level under SMP model More... | |
| void | reset () |
| reset everything needed | |
| size_t | getTimeStamp () |
| to get the time stamp More... | |
| AbstractWS (size_t sLen, size_t rLen) | |
| to init the slider with specific length of queue More... | |
| virtual void | feedTupleS (TuplePtr ts) |
| to feed a tuple s More... | |
| virtual void | feedTupleR (TuplePtr tr) |
| to feed a tuple R More... | |
| struct timeval | getSysTime () |
| to get the inline timee structure, the timeSys member More... | |
| void | setSysTime (struct timeval tv) |
| Set the time structure value ,the timeSys member. More... | |
| string | getName () |
| get the name of the slider More... | |
Public Member Functions inherited from INTELLI::AbstractC20Thread | |
| void | startThread () |
| to start this thread | |
| void | joinThread () |
| the thread join function | |
Protected Member Functions | |
| virtual void | inlineMain () |
| The inline 'main" function of thread, as an interface. More... | |
| void | deliverTupleS (TuplePtr ts) |
| deliver tuple s to join processors More... | |
| void | deliverTupleR (TuplePtr tr) |
| deliver tuple r to join processors More... | |
| void | expireS (size_t cond) |
| void | expireR (size_t cond) |
Protected Member Functions inherited from INTELLI::AbstractWS | |
| size_t | oldestWindowBelong (size_t ts) |
| To get the possible oldest a time stamp belongs to. More... | |
Protected Attributes | |
| TuplePtrQueue | TuplePtrQueueLocalS |
| TuplePtrQueue | TuplePtrQueueLocalR |
| size_t | joinResults |
Protected Attributes inherited from INTELLI::AbstractWS | |
| INTELLI::join_type_t | myType = INTELLI::CNT_BASED |
| size_t | countS |
| size_t | countR |
| size_t | windowLen = 0 |
| size_t | slideLen = 1 |
| std::vector< size_t > | partitionWeight |
| std::vector< size_t > | partitionSizeFinal |
| size_t | threads |
| size_t | sLen |
| size_t | rLen |
| bool | runTimeScheduling = false |
| bool | timeBased = false |
| bool | isRunning = false |
| struct timeval | timeSys |
| TuplePtrQueue | TuplePtrQueueInS |
| TuplePtrQueue | TuplePtrQueueInR |
| string | nameTag |
Protected Attributes inherited from INTELLI::AbstractC20Thread | |
| std::shared_ptr< std::thread > | threadPtr |
The single-thread window slider used for verify results of other WS.
| INTELLI::VerifyWS::VerifyWS | ( | size_t | sLen, |
| size_t | rLen | ||
| ) |
to init the slider with specific length of queue
| sLen | the length of S queue |
| rLen | the length of R queue |
|
protected |
deliver tuple r to join processors
| ts | The tuple r |
|
protected |
deliver tuple s to join processors
| ts | The tuple s |
|
virtual |
to get the result of join
Reimplemented from INTELLI::AbstractWS.
|
virtual |
to init the initJoinProcessors
Reimplemented from INTELLI::AbstractWS.
|
protectedvirtual |
The inline 'main" function of thread, as an interface.
Reimplemented from INTELLI::AbstractC20Thread.