45 std::pair<bool, GCodeLineEntry>
push(
const std::pair<bool, GCodeLineEntry>& entry);
GCodeLineEntryStack & operator=(const GCodeLineEntryStack &)=delete
Deleted copy assignment operator.
std::pair< bool, GCodeLineEntry > interpolate() const
Interpolates between the entries of the Stack_.
Definition: GCodeLineEntryStack.cpp:71
const TriggerParameters MinimumTriggerParameters_
The threshold for the parameters to trigger the interpolation.
Definition: GCodeLineEntryStack.h:56
std::pair< bool, GCodeLineEntry > push(const std::pair< bool, GCodeLineEntry > &entry)
Pushes the entry in the stack discarding the first one and, possibly, interpolates the stack entries...
Definition: GCodeLineEntryStack.cpp:50
GCodeLineEntryStack(TriggerParameters &&trigger_params)
Definition: GCodeLineEntryStack.cpp:20
std::vector< std::pair< bool, GCodeLineEntry > > Stack_
The two temporary elements to interpolate between.
Definition: GCodeLineEntryStack.h:53
Stack of GCodeLineEntry's.
Definition: GCodeLineEntryStack.h:18
~GCodeLineEntryStack()=default
Default destructor.
decltype(auto) getStack() const
Returns the internal stack.
Definition: GCodeLineEntryStack.h:48