TargetLoadCallBack Class
Header:#include "easyar/tracker.hpp"


TargetLoadCallBack is the callback class for target load/unload from ImageTracker.

The callback is used in ImageTracker::loadTarget or ImageTracker::unloadTarget to return load/unload result. You should implement operator() to get the result.

Public Functions

virtual voidoperator() (const Target target, const bool status) = 0

virtual void operator() (const Target target, const bool status)

target is the Target passed into ImageTracker::loadTarget or ImageTracker::unloadTarget, and status is true is load/unload successes, false otherwise.