alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl Class Reference

Inheritance diagram for alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl:
Inheritance graph
[legend]
Collaboration diagram for alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

synchronized void initSubsysPass1 () throws AcsStateActionException
synchronized void initSubsysPass2 ()
synchronized void reinitSubsystem ()
synchronized void shutDownSubsysPass1 ()
synchronized void shutDownSubsysPass2 ()

Package Functions

 DummyActionImpl (Logger logger)
void throwExInInitPass1 (boolean throwEx)
int getCallsToReinit ()

Private Member Functions

void log (String action)

Private Attributes

Logger m_actionLogger
boolean m_throwExInInitPass1
int callsToReinit

Detailed Description

Test implementation of the state machine's action interface. Methods will be called by the state machine.


Constructor & Destructor Documentation

alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::DummyActionImpl ( Logger  logger  )  [inline, package]

Member Function Documentation

int alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::getCallsToReinit (  )  [inline, package]

Allows the tests to check how often reinit has been called. : better use a real sync mechanism so that test can wait till the method was called, or fail with a time out.

References callsToReinit.

Referenced by alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testReentryToCompositeState().

synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::initSubsysPass1 (  )  throws AcsStateActionException [inline]
synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::initSubsysPass2 (  )  [inline]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::log ( String  action  )  [inline, private]
synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::reinitSubsystem (  )  [inline]
synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::shutDownSubsysPass1 (  )  [inline]
synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::shutDownSubsysPass2 (  )  [inline]
void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::throwExInInitPass1 ( boolean  throwEx  )  [inline, package]

Determines the optional test feature of letting initSubsysPass1() throw an exception.

References m_throwExInInitPass1.

Referenced by alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testActionException().


Member Data Documentation

Referenced by DummyActionImpl(), and log().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2