Lumiera  0.pre.03
»edit your freedom«
SpecialJobFun_test Class Reference

Description

Test:
verify a self-managing one-time render job functor.
See also
TestChainLoad_test::usageExample
TestChainLoad::ScheduleCtx::continuation()
special-job-fun.hpp

Definition at line 70 of file special-job-fun-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void simpleUsage ()
 
void verifyLifecycle ()
 

Member Function Documentation

◆ simpleUsage()

void simpleUsage ( )
inlineprivate
Test:
demonstrate simple usage by λ-binding
Todo:
WIP 12/23 🔁 define ⟶ ✔ implement

Definition at line 85 of file special-job-fun-test.cpp.

References Time::ANYTIME.

◆ verifyLifecycle()

void verifyLifecycle ( )
inlineprivate
Test:
verify storage and lifecycle management
  • use a instance-tracking marker implanted into the functor
  • verify no memory is leaked and the tracker instance is deallocated
  • verify the single tracker instance indeed lives in the JobFunctor
  • investigate the usage count of the front-end handle
  • verify the front-end can be copied without impact on the JobFunctor
  • verify the heap allocated functor keeps itself alive even when the front-end handle is already gone.
  • verify the functor de-allocates itself after latst invocation
    Todo:
    WIP 12/23 ✔ define ⟶ ✔ implement

Definition at line 115 of file special-job-fun-test.cpp.

+ Inheritance diagram for SpecialJobFun_test:
+ Collaboration diagram for SpecialJobFun_test:

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