Murl::Logic::GraphReplication Class Referenceabstract

Base class for a single replication required by Logic::GraphInstanceObjects. More...

#include "murl_logic_graph_replication.h"

Inheritance diagram for Murl::Logic::GraphReplication:

Public Member Functions

virtual Bool Init (INodeObserver *nodeObserver, const Graph::IRoot *root, const String &replicationIdPath, SInt32 index)
 Initialize the object. More...
 
virtual Bool Init (INodeObserver *nodeObserver, Graph::INode *replicationNode, SInt32 index)=0
 Initialize the object. More...
 
virtual Bool DeInit ()=0
 Deinitialize the object. More...
 
virtual void SetObtained (Bool isObtained)=0
 Set the obtained state. More...
 
- Public Member Functions inherited from Murl::Logic::BaseStepable
 BaseStepable ()
 The default constructor. More...
 
 ~BaseStepable () override
 The destructor. More...
 
 operator IStepablePtr ()
 Conversion operator. More...
 
- Public Member Functions inherited from Murl::Logic::Stepable
 ~Stepable () override
 The destructor.
 
Bool SetAppStepable (IAppStepablePtr appStepable) override
 Implementation of IStepable::SetAppStepable() method. More...
 
void SetEnabled (Bool isEnabled) override
 Implementation of IStepable::SetEnabled() method. More...
 
Bool IsEnabled () const override
 Implementation of IStepable::IsEnabled() method. More...
 
void Reset () override
 Implementation of IStepable::Reset() method.
 
void ProcessTick (const Logic::IState *state) override
 Implementation of IStepable::ProcessTick() method. More...
 
void FinishTick (const Logic::IState *state) override
 Implementation of IStepable::FinishTick() method. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Murl::Logic::Stepable
static IStepablePtr Create ()
 Create a stepable object. More...
 
- Protected Member Functions inherited from Murl::Logic::BaseStepable
void OnSetEnabled (Bool isEnabled) override
 Default implementation of IAppStepable::OnSetEnabled() method, this method is empty and can be overwritten. More...
 
void OnReset () override
 Default implementation of IAppStepable::OnReset() method, this method is empty and can be overwritten.
 
void OnProcessTick (const Logic::IState *state) override
 Default implementation of IAppStepable::OnProcessTick() method, this method is empty and can be overwritten. More...
 
void OnFinishTick (const Logic::IState *state) override
 Default implementation of IAppStepable::OnFinishTick() method, this method is empty and can be overwritten. More...
 

Detailed Description

Base class for a single replication required by Logic::GraphInstanceObjects.

Member Function Documentation

◆ Init() [1/2]

virtual Bool Murl::Logic::GraphReplication::Init ( INodeObserver nodeObserver,
const Graph::IRoot root,
const String replicationIdPath,
SInt32  index 
)
inlinevirtual

Initialize the object.

Parameters
nodeObserverThe INodeObserver object.
rootThe graph root node.
replicationIdPathThe full path to the replication's graph node.
indexThe index of the replication.
Returns
true if successful.

Reimplemented in Murl::Logic::GraphSoundInstance, and Murl::Logic::GraphPositionInstance.

References Murl::Graph::IRoot::FindNode().

◆ Init() [2/2]

virtual Bool Murl::Logic::GraphReplication::Init ( INodeObserver nodeObserver,
Graph::INode replicationNode,
SInt32  index 
)
pure virtual

Initialize the object.

Parameters
nodeObserverThe INodeObserver object.
replicationNodeThe replication's graph node.
indexThe index of the replication.
Returns
true if successful.

Implemented in Murl::Logic::GraphSoundInstance, and Murl::Logic::GraphPositionInstance.

◆ DeInit()

virtual Bool Murl::Logic::GraphReplication::DeInit ( )
pure virtual

Deinitialize the object.

Returns
true if successful.

Implemented in Murl::Logic::GraphSoundInstance, and Murl::Logic::GraphPositionInstance.

◆ SetObtained()

virtual void Murl::Logic::GraphReplication::SetObtained ( Bool  isObtained)
pure virtual

Set the obtained state.

Parameters
isObtainedThe obtained state.

Implemented in Murl::Logic::GraphSoundInstance, and Murl::Logic::GraphPositionInstance.


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


Copyright © 2011-2022 Spraylight GmbH.