5#include "ProfilerInfo.h"
6#include "ProfileData.h"
7#include "VirtualUserSet.h"
13class VirtualProfilerImpl;
119 std::shared_ptr<VirtualProfilerImpl> _d;
Represents a batch of profiles, which can be obtained by calling Profiler::retrieveBatchData()....
~VirtualProfiler()
Destructor.
VirtualUserSet & currentUserSet()
Gets the parameter information used when the virtual device was saved.
ErrorStatus getProfilerInfo(ProfilerInfo &info) const
Gets the basic information of the virtual laser profiler, such as model, serial number,...
VirtualProfiler(const std::string &filePath)
Constructor.
std::function< void(const ProfileBatch &batch, void *pUser)> AcquisitionCallback
The type of callback function.
VirtualProfiler(const VirtualProfiler &other) noexcept
Copy constructor.
ErrorStatus startAcquisition()
Enters the virtual device into the acquisition ready status, where it can accept trigger signals for ...
ErrorStatus retrieveBatchData(ProfileBatch &batch) const
Retrieves a batch of the profiles. There are two ways to retrieve profile data, by polling or callbac...
ErrorStatus registerAcquisitionCallback(const VirtualProfiler::AcquisitionCallback &func, void *pUser)
Registers the callback function for data acquisition. There are two ways to retrieve profile data,...
VirtualProfiler & operator=(const VirtualProfiler &other) noexcept
Copy assignment.
ErrorStatus stopAcquisition()
Exits the virtual profiler from the acquisition ready status to avoid accidental triggering of scanni...
Describes the types of errors.
Describes the laser profiler information.