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::Standby Class Reference

Inheritance diagram for Hierarchical_State_Machine::Standby:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

The unit is in this state when it is Inservice but it is serving as a standby for the active unit.

The Standby state inherits from the Inservice state and further refines the Switchover handler

Definition at line 89 of file Hierarchical_State_Machine.h.

Public Member Functions

void On_Switchover (Hierarchical_State_Machine &u, const Message *p_Message)
 Switchover request is received in standby state.


Member Function Documentation

void Hierarchical_State_Machine::Standby::On_Switchover Hierarchical_State_Machineu,
const Message * p_Message
[virtual]
 

Switchover request is received in standby state.

This is more like a takeover request. Thus the unit performs a switchover and then moves to Active state.

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

Reimplemented from Hierarchical_State_Machine::Inservice.

Definition at line 113 of file Hierarchical_State_Machine.cpp.

00114 {
00115     Inservice::On_Switchover(u, p_Message);
00116     u.Next_State(u.Active_State);
00117 }


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.