36#include "api_global.h"
45class VirtualProfilerImpl;
149 std::shared_ptr<VirtualProfilerImpl> _d;
#define MMIND_API_EXPORT
Definition api_global.h:48
Represents a batch of profiles, which can be obtained by calling Profiler::retrieveBatchData()....
Definition ProfileData.h:74
Definition VirtualProfiler.h:48
std::function< void(const ProfileBatch &batch, void *pUser)> AcquisitionCallback
The type of callback function.
Definition VirtualProfiler.h:56
VirtualProfiler(const VirtualProfiler &other) noexcept
Copy constructor.
ErrorStatus retrieveBatchData(ProfileBatch &batch) const
Retrieves a batch of the profiles. There are two ways to retrieve profile data, by polling or callbac...
VirtualProfiler(const std::string &filePath)
Constructor.
ErrorStatus stopAcquisition()
Exits the virtual profiler from the acquisition ready status to avoid accidental triggering of scanni...
~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,...
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 startAcquisition()
Enters the virtual device into the acquisition ready status, where it can accept trigger signals for ...
Definition VirtualUserSet.h:13
Describes the types of errors.
Definition ErrorStatus.h:12
Describes the laser profiler information.
Definition ProfilerInfo.h:44