AMCAX Kernel 1.0.0.0
Loading...
Searching...
No Matches
CallbackFunction.hpp File Reference
#include <functional>
+ Include dependency graph for CallbackFunction.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  AMCAX
 Namespace of all interface in the AMCAX kernel.
 
namespace  AMCAX::Meshing
 Namespace of all interface in the AMCAX Meshing module.
 

Typedefs

using  AMCAX::Meshing::Mesh::CbFunc = std::function<void(int overall_percent, bool& cancel)>
 Progress callback with stage index and dual-level percentage.
 

Detailed Description

@Callback function type for reporting progress.

This file is part of AMCAX kernel.

Typedef Documentation

◆ CbFunc

using AMCAX::Meshing::Mesh::CbFunc = std::function<void(int overall_percent, bool& cancel)>

Progress callback with stage index and dual-level percentage.

Parameters
[in]overall_percentGlobal progress across all stages, in [0, 100].
[out]cancelSet to true to request early termination.
Note
Both percentages should be integers in the range [0, 100], inclusive.