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.11
Date:
2011/03/07 15:31:32

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

References stor::Operations::safeEntryAction().

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

Definition at line 32 of file Constructed.cc.

References stor::Operations::safeExitAction().

33 {
35 }
void safeExitAction()
Definition: Operations.cc:108

Member Function Documentation

void Constructed::do_entryActionWork ( )
privatevirtual

Implements stor::Operations.

Definition at line 14 of file Constructed.cc.

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

Implements stor::Operations.

Definition at line 26 of file Constructed.cc.

References stor::Operations::stateName().

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

Implements stor::Operations.

Definition at line 42 of file Constructed.cc.

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

Implements stor::Operations.

Definition at line 37 of file Constructed.cc.

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