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 20 of file Constructed.cc.

References stor::Operations::safeEntryAction().

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

Definition at line 31 of file Constructed.cc.

References stor::Operations::safeExitAction().


Member Function Documentation

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

Implements stor::Operations.

Definition at line 13 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 25 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 41 of file Constructed.cc.

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

Implements stor::Operations.

Definition at line 36 of file Constructed.cc.

{
  return string( "Constructed" );
}