Boost Users :
Subject: [Boost-users] boost:statechart: How can I access the state machine from within a custom error handler?
From: Jale Gulea (ame01_at_[hidden])
Date: 2009-05-12 20:20:25
I have replaced the null_exception_translator (http://www.boost.org/doc/libs/1_34_1/libs/statechart/doc/reference.html#null_exception_translator.hpp) with one of my own brew and I cannot figure a way to get the state machine in the context of which the the handler gets called.
The 'machine_' member is private in both the 'Action' and the 'ExceptionEventHandler'. The 'translator_' is also private - thus inaccessible in my derived state machine.
Any ideas are appreciated.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net