Class AIAC::Utils::HoleToolheadAxisExporter¶
ClassList > AIAC > Utils > HoleToolheadAxisExporter
Public Functions¶
Type | Name |
---|---|
void | ExportCoordinates () Export and write the hole and toolhead coordinates. |
void | ExportHoleAxis () Export the hole coordinates. |
void | ExportToolheadAxis () Export the toolhead coordinates. |
std::string | GetCurrentTimestamp () Get the current timestamp. |
HoleToolheadAxisExporter (const std::string & basePath) | |
void | WriteBufferToFile () Write the buffer to a file. |
void | WriteCoordToBuffer (const std::string & itemType, std::string itemName, const std::string & pointType, std::shared_ptr< GOPoint > goPoint) Write the coordinates to a .log file. |
~HoleToolheadAxisExporter () = default |
Public Functions Documentation¶
function ExportCoordinates¶
Export and write the hole and toolhead coordinates.
function ExportHoleAxis¶
Export the hole coordinates.
function ExportToolheadAxis¶
Export the toolhead coordinates.
function GetCurrentTimestamp¶
Get the current timestamp.
Returns:
A string representing the current timestamp
function HoleToolheadAxisExporter¶
explicit AIAC::Utils::HoleToolheadAxisExporter::HoleToolheadAxisExporter (
const std::string & basePath
)
function WriteBufferToFile¶
Write the buffer to a file.
The data is written in the following format: ItemType,ItemName,PointType,X,Y,Z
function WriteCoordToBuffer¶
Write the coordinates to a .log file.
void AIAC::Utils::HoleToolheadAxisExporter::WriteCoordToBuffer (
const std::string & itemType,
std::string itemName,
const std::string & pointType,
std::shared_ptr< GOPoint > goPoint
)
Parameters:
itemType
Type of the item (toolhead or hole)pointType
Type of the point (start or end)goPoint
Pointer to the GOPoint object to get the coordinates from
function ~HoleToolheadAxisExporter¶
The documentation for this class was generated from the following file src/utils/HoleToolheadAxisExporter.h