A helper class for simple use of the IStepable object. More...

#include "murl_logic_base_stepable.h"

Inheritance diagram for Murl::Logic::BaseStepable:

Public Member Functions

 BaseStepable ()
 The default constructor. More...
 
virtual ~BaseStepable ()
 The destructor. More...
 
 operator IStepablePtr ()
 Conversion operator. More...
 
- Public Member Functions inherited from Murl::Logic::Stepable
virtual ~Stepable ()
 The destructor.
 
virtual Bool SetAppStepable (IAppStepablePtr appStepable)
 Implementation of IStepable::SetAppStepable() method. More...
 
virtual void SetEnabled (Bool isEnabled)
 Implementation of IStepable::SetEnabled() method. More...
 
virtual Bool IsEnabled () const
 Implementation of IStepable::IsEnabled() method. More...
 
virtual void Reset ()
 Implementation of IStepable::Reset() method.
 
virtual void ProcessTick (const Logic::IState *state)
 Implementation of IStepable::ProcessTick() method. More...
 
virtual void FinishTick (const Logic::IState *state)
 Implementation of IStepable::FinishTick() method. More...
 

Protected Member Functions

virtual void OnSetEnabled (Bool isEnabled)
 Default implementation of IAppStepable::OnSetEnabled() method, this method is empty and can be overwritten. More...
 
virtual void OnReset ()
 Default implementation of IAppStepable::OnReset() method, this method is empty and can be overwritten.
 
virtual void OnProcessTick (const Logic::IState *state)
 Default implementation of IAppStepable::OnProcessTick() method, this method is empty and can be overwritten. More...
 
virtual void OnFinishTick (const Logic::IState *state)
 Default implementation of IAppStepable::OnFinishTick() method, this method is empty and can be overwritten. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Murl::Logic::Stepable
static IStepablePtr Create ()
 Create a stepable object. More...
 

Detailed Description

A helper class for simple use of the IStepable object.

A stepable object is created at object instantiation.

Constructor & Destructor Documentation

◆ BaseStepable()

Murl::Logic::BaseStepable::BaseStepable ( )
inline

The default constructor.

Creates a IStepable object.

References Murl::Logic::Stepable::SetAppStepable().

◆ ~BaseStepable()

virtual Murl::Logic::BaseStepable::~BaseStepable ( )
inlinevirtual

The destructor.

Destroys the IStepable object.

Member Function Documentation

◆ operator IStepablePtr()

Murl::Logic::BaseStepable::operator IStepablePtr ( )
inline

Conversion operator.

Returns
The IStepable interface.

◆ OnSetEnabled()

virtual void Murl::Logic::BaseStepable::OnSetEnabled ( Bool  isEnabled)
inlineprotectedvirtual

Default implementation of IAppStepable::OnSetEnabled() method, this method is empty and can be overwritten.

Parameters
isEnabledtrue if enabled.

Implements Murl::Logic::IAppStepable.

Reimplemented in Murl::Logic::GraphInstanceObjects< InstanceObjectType >.

◆ OnProcessTick()

virtual void Murl::Logic::BaseStepable::OnProcessTick ( const Logic::IState state)
inlineprotectedvirtual

Default implementation of IAppStepable::OnProcessTick() method, this method is empty and can be overwritten.

Parameters
stateThe IState object.

Implements Murl::Logic::IAppStepable.

Reimplemented in Murl::Logic::GraphInstanceObjects< InstanceObjectType >, and Murl::Logic::StateMachine< StateType, HashFunc >.

◆ OnFinishTick()

virtual void Murl::Logic::BaseStepable::OnFinishTick ( const Logic::IState state)
inlineprotectedvirtual

Default implementation of IAppStepable::OnFinishTick() method, this method is empty and can be overwritten.

Parameters
stateThe IState object.

Implements Murl::Logic::IAppStepable.

Reimplemented in Murl::Logic::GraphInstanceObjects< InstanceObjectType >, and Murl::Logic::StateMachine< StateType, HashFunc >.


The documentation for this class was generated from the following file:
  • murl_logic_base_stepable.h


Copyright © 2011-2018 Spraylight GmbH.