state_machine_cpp
builder_impl_layers.h
Go to the documentation of this file.
1 //
2 // Created by henri on 27/04/21.
3 //
4 
5 #ifndef STATE_MACHINE_CPP_BUILDER_IMPL_LAYERS_H
6 #define STATE_MACHINE_CPP_BUILDER_IMPL_LAYERS_H
7 
8 #include <stack>
9 #include "builder_layers.h"
10 
12  class Layers;
13 }
14 
16  std::stack<unsigned int> m_layers;
17  unsigned int m_max_layer = 0;
18 public:
19  [[nodiscard]] unsigned int current() const override;
20  unsigned int create() override;
21  unsigned int use(unsigned int t_layer) override;
22  void close() override;
23 };
24 
25 
26 #endif //STATE_MACHINE_CPP_BUILDER_IMPL_LAYERS_H
state_machine_cpp::Algorithm::Impl::Build::Layers::current
unsigned int current() const override
state_machine_cpp::Algorithm::Impl::Build
Definition: algorithm.h:16
state_machine_cpp::Algorithm::Impl::Build::Layers::close
void close() override
state_machine_cpp::Algorithm::Builder::Layers
Definition: builder_layers.h:10
state_machine_cpp::Algorithm::Impl::Build::Layers::use
unsigned int use(unsigned int t_layer) override
state_machine_cpp::Algorithm::Impl::Build::Layers
Definition: builder_impl_layers.h:15
state_machine_cpp::Algorithm::Impl::Build::Layers::create
unsigned int create() override
builder_layers.h