CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions
stor::Constructed Class Reference

#include <StateMachine.h>

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

Public Types

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

Public Member Functions

 Constructed (my_context)
 
virtual ~Constructed ()
 
- Public Member Functions inherited from stor::Operations
void moveToFailedState (xcept::Exception &exception) const
 
void noFragmentToProcess () const
 
 Operations ()
 
void processI2OFragment (I2OChain &frag) const
 
std::string stateName () const
 
virtual ~Operations ()=0
 

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
 

Additional Inherited Members

- Protected Member Functions inherited from stor::Operations
virtual void do_noFragmentToProcess () const
 
virtual void do_processI2OFragment (I2OChain &frag) const
 
void safeEntryAction ()
 
void safeExitAction ()
 

Detailed Description

Constructed state

Author:
mommsen
Revision:
1.10.12.1
Date:
2011/03/07 11:33:04

Definition at line 224 of file StateMachine.h.

Member Typedef Documentation

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().

20  : my_base(c)
21 {
23 }
void safeEntryAction()
Definition: Operations.cc:77
Constructed::~Constructed ( )
virtual

Definition at line 31 of file Constructed.cc.

References stor::Operations::safeExitAction().

32 {
34 }
void safeExitAction()
Definition: Operations.cc:108

Member Function Documentation

void Constructed::do_entryActionWork ( )
privatevirtual

Implements stor::Operations.

Definition at line 13 of file Constructed.cc.

14 {
15  TransitionRecord tr( stateName(), true );
16  outermost_context().updateHistory( tr );
17  outermost_context().setExternallyVisibleState( "Halted" );
18 }
std::string stateName() const
Definition: Operations.cc:39
void Constructed::do_exitActionWork ( )
privatevirtual

Implements stor::Operations.

Definition at line 25 of file Constructed.cc.

References stor::Operations::stateName().

26 {
27  TransitionRecord tr( stateName(), false );
28  outermost_context().updateHistory( tr );
29 }
std::string stateName() const
Definition: Operations.cc:39
void Constructed::do_moveToFailedState ( xcept::Exception &  exception) const
privatevirtual

Implements stor::Operations.

Definition at line 41 of file Constructed.cc.

42 {
43  outermost_context().getSharedResources()->moveToFailedState( exception );
44 }
string Constructed::do_stateName ( ) const
privatevirtual

Implements stor::Operations.

Definition at line 36 of file Constructed.cc.

37 {
38  return string( "Constructed" );
39 }