Taskolib  1.3.3
Classes | Namespaces | Typedefs | Functions | Variables
Step.h File Reference

Detailed Description

Declaration of the Step class.

Author
Lars Fröhlich, Marcus Walla
Date
Created on November 26, 2021

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

#include <chrono>
#include <set>
#include <string>
#include "taskolib/CommChannel.h"
#include "taskolib/Context.h"
#include "taskolib/time_types.h"
#include "taskolib/Timeout.h"
#include "taskolib/TimeoutTrigger.h"
#include "taskolib/VariableName.h"
Include dependency graph for Step.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  task::Step
 A step is the main building block of a sequence. More...
 

Namespaces

 task
 Namespace task contains all Taskolib functions and classes.
 

Typedefs

using task::VariableNames = std::set< VariableName >
 
using task::ExecutionSteps = std::set< Step::Type >
 Alias for a step type collection that executes a script. More...
 

Functions

std::string task::to_string (Step::Type type)
 Return a lower-case name for a step type ("action", "if", "end"). More...
 
bool task::executes_script (Step::Type step_type)
 Determine if a script is executed. More...
 
bool task::requires_bool_return_value (Step::Type step_type) noexcept
 Determine if a certain step type requires a boolean return value from the script. More...
 

Variables

const ExecutionSteps task::execution_steps
 Step types that execute a script. More...