EventHelix.com: CASE Tools; Real-time and Embedded System Design; Object Oriented Design EventStudio 2.0: System Engineering CASE ToolEventStudio 2.5
Sequence diagram based system design and modeling
Home   What's New   EventStudio 2.5   Real-time Mantra   Thought Projects   Contact Us
Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Hierarchical_State_Machine::Out_Of_Service Class Reference

Inheritance diagram for Hierarchical_State_Machine::Out_Of_Service:

Inheritance graph
[legend]
Collaboration diagram for Hierarchical_State_Machine::Out_Of_Service:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class for all out of service states.

All sub states of out of service state should inherit from this state.

Definition at line 99 of file Hierarchical_State_Machine.h.

Public Member Functions

void On_Operator_Inservice (Hierarchical_State_Machine &u, const Message *p_Message)
 Common handler for operator inservice handling in all out of service states.


Member Function Documentation

void Hierarchical_State_Machine::Out_Of_Service::On_Operator_Inservice Hierarchical_State_Machineu,
const Message * p_Message
[virtual]
 

Common handler for operator inservice handling in all out of service states.

This handler takes the following actions:

  • Operator wishes to put the unit inservice. So initiate diagnostics, the unit will be brought inservice if the diagnostics pass.
  • Inform the operator of this action
  • Change to Suspect state as diagnostics are in progress

Parameters:
u Reference to the state machine object
p_Message Pointer to the message being processed

Reimplemented from Hierarchical_State_Machine::Unit_State.

Reimplemented in Hierarchical_State_Machine::Suspect.

Definition at line 128 of file Hierarchical_State_Machine.cpp.

00129 {
00130     // Operator has replaced the card, so abort the current diagnostics
00131     // and restart new diagnostics on the replaced card.  
00132     u.Send_Diagnostics_Request();
00133     u.Send_Operator_Inservice_Response();
00134     u.Next_State(u.Suspect_State);
00135 }


The documentation for this class was generated from the following files:
Generated on Sun Feb 13 21:30:31 2005 for Object Oriented Design Examples by doxygen 1.3.4
 Home   What's New   EventStudio 2.5   Real-time Mantra   Thought Projects   Contact Us
Copyright © 2000-2005 EventHelix.com Inc. All Rights Reserved.