|
|
ObjectLocalizerProcessorJob encapsules the object localization job. More...
#include <VisionX/components/object_perception/ObjectLocalizerProcessorJob.h>
Public Member Functions | |
| void | exit () |
| Requests exit to the job. More... | |
| ObjectLocalizerProcessorJob (ObjectLocalizerProcessor *processor) | |
| Init the job by providing the ObjectLocalizerProcessor that implements the required functionality. More... | |
| void | process () |
| Processing method. More... | |
| void | reset () |
| void | start (std::vector< std::string > objectClassNames) |
| Start a localization job for the given objectClassName. More... | |
| memoryx::ObjectLocalizationResultList | waitForResult () |
| Wait for the localization result. More... | |
ObjectLocalizerProcessorJob encapsules the object localization job.
This helper class is used internally by ObjectLocalizerProcessor in order to assure execution of all relevant interface methods in a single thread (as e.g. required for methods using OpenGL as SegmentableObjectRecognition)
Definition at line 43 of file ObjectLocalizerProcessorJob.h.
| ObjectLocalizerProcessorJob | ( | ObjectLocalizerProcessor * | processor | ) |
Init the job by providing the ObjectLocalizerProcessor that implements the required functionality.
| processor | pointer to the processor. Called by ObjectLocalizerProcessor. |
Definition at line 35 of file ObjectLocalizerProcessorJob.cpp.
| void exit | ( | ) |
Requests exit to the job.
Assures the process method retruns as soon as possible. Non-blocking and called by ObjectLocalizerProcessor.
Definition at line 69 of file ObjectLocalizerProcessorJob.cpp.
Here is the caller graph for this function:| void process | ( | ) |
Processing method.
Schedules initialization of the recognizer, object database and localization requests in a single thread. Called by ObjectLocalizerProcessor.
Definition at line 75 of file ObjectLocalizerProcessorJob.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void reset | ( | ) |
Definition at line 51 of file ObjectLocalizerProcessorJob.cpp.
Here is the caller graph for this function:| void start | ( | std::vector< std::string > | objectClassNames | ) |
Start a localization job for the given objectClassName.
| objectClassName | name of the object class to localize |
Definition at line 41 of file ObjectLocalizerProcessorJob.cpp.
Here is the caller graph for this function:| memoryx::ObjectLocalizationResultList waitForResult | ( | ) |
Wait for the localization result.
Will return an empty result on exit
Definition at line 57 of file ObjectLocalizerProcessorJob.cpp.
Here is the caller graph for this function: