/*! ========================================================================
** Extended Template and Library Test Suite
** Angle Class Test
-** $Id: smach.cpp,v 1.1.1.1 2005/01/04 01:31:48 darco Exp $
+** $Id$
**
** Copyright (c) 2002 Robert B. Quattlebaum Jr.
**
{
MachineContext *context;
public:
- DefaultStateContext(MachineContext *context):context(context) { printf("Enterted Default State\n"); }
+ DefaultStateContext(MachineContext *context):context(context) { printf("Entered Default State\n"); }
~DefaultStateContext() { printf("Left Default State\n"); }
Smach::event_result event1_handler(const Smach::event& x)
{
MachineContext *context;
public:
- State1Context(MachineContext *context):context(context) { printf("Enterted State 1\n"); }
+ State1Context(MachineContext *context):context(context) { printf("Entered State 1\n"); }
~State1Context() { printf("Left State 1\n"); }
Smach::event_result event1_handler(const Smach::event& x)
{
MachineContext *context;
public:
- State2Context(MachineContext *context):context(context) { printf("Enterted State 2\n"); }
+ State2Context(MachineContext *context):context(context) { printf("Entered State 2\n"); }
~State2Context() { printf("Left State 2\n"); }
Smach::event_result event1_handler(const Smach::event& x)