Code Monkey home page Code Monkey logo

state-machine-using-boost-statechart's Introduction

Creating C++ State Machine(s) Using Boost::statechart Library (Mini eBook)

alt tag

This mini eBook provides a step by step guide on using Boost::statechart (part of boost C++ library @ www.boost.org) for creating state machines based software.

A large amount of code can potentially be written in the form of state machines. Sometimes even basic switch-case statements are representation of miniature states. Many a times programmers create multiple states in the code without being explicitly aware of the fact that they are trying to emulate state machines.

Why should one use exiting state machine framework instead of creating its own ?

Creating a proper state machine require lots of code and should behave as expected in most of the unpredictable scenarios. One may try it out but it will take hell lot to development and testing time, which instead could be used for coding the functionality.

Boost::statechart is a generic state machine which fulfils most of the basic requirements one can find in a state machines. It my sincere opinion that one should at least explore this before deciding to write its own state machine.

This eBook is a work in progress as of now

How to use this eBook ?

This eBook recommends to follow "Chapter a Day" method. Each chapter is small enough to be digested in a day with sufficient practice.

eBook

Table of Contents

Copyright

The materials herein are all (c) 2016 by www.9lean.com.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 4.0 Unported License.

Publishing (Intent)

I intent to publish this mini eBook as soon as it completes.

state-machine-using-boost-statechart's People

Contributors

9lean avatar cognitiveprogrammer avatar dakshhub avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.