CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions

stor::Constructed Class Reference

#include <StateMachine.h>

Inheritance diagram for stor::Constructed:
state stor::Operations

List of all members.

Public Types

typedef boost::mpl::list< RTreactions
typedef bsc::transition
< Configure, Ready
RT

Public Member Functions

 Constructed (my_context)
virtual ~Constructed ()

Private Member Functions

virtual void do_entryActionWork ()
virtual void do_exitActionWork ()
virtual void do_moveToFailedState (xcept::Exception &exception) const
virtual std::string do_stateName () const

Detailed Description

Constructed state

Author:
mommsen
Revision:
1.11
Date:
2011/03/07 15:31:32

Definition at line 224 of file StateMachine.h.


Member Typedef Documentation

typedef boost::mpl::list<RT> stor::Constructed::reactions

Definition at line 230 of file StateMachine.h.

typedef bsc::transition<Configure,Ready> stor::Constructed::RT

Definition at line 229 of file StateMachine.h.


Constructor & Destructor Documentation

Constructed::Constructed ( my_context  c)

Definition at line 21 of file Constructed.cc.

References stor::Operations::safeEntryAction().

                                      : my_base(c)
{
  safeEntryAction();
}
Constructed::~Constructed ( ) [virtual]

Definition at line 32 of file Constructed.cc.

References stor::Operations::safeExitAction().


Member Function Documentation

void Constructed::do_entryActionWork ( ) [private, virtual]

Implements stor::Operations.

Definition at line 14 of file Constructed.cc.

{
  TransitionRecord tr( stateName(), true );
  outermost_context().updateHistory( tr );
  outermost_context().setExternallyVisibleState( "Halted" );
}
void Constructed::do_exitActionWork ( ) [private, virtual]

Implements stor::Operations.

Definition at line 26 of file Constructed.cc.

References stor::Operations::stateName().

{
  TransitionRecord tr( stateName(), false );
  outermost_context().updateHistory( tr );
}
void Constructed::do_moveToFailedState ( xcept::Exception exception) const [private, virtual]

Implements stor::Operations.

Definition at line 42 of file Constructed.cc.

{
  outermost_context().getSharedResources()->alarmHandler_->moveToFailedState( exception );
}
string Constructed::do_stateName ( ) const [private, virtual]

Implements stor::Operations.

Definition at line 37 of file Constructed.cc.

{
  return string( "Constructed" );
}