A helper class for simple use of the INodeObserver object. More...
#include "murl_logic_base_node_observer.h"
Detailed Description
A helper class for simple use of the INodeObserver object.
A node observer is created and initialized at object instantiation.
Constructor & Destructor Documentation
◆ BaseNodeObserver()
|
inline |
The default constructor.
Creates a INodeObserver object.
◆ ~BaseNodeObserver()
|
inlinevirtual |
The destructor.
Destroys the INodeObserver object.
Member Function Documentation
◆ operator INodeObserver *()
|
inline |
Conversion operator.
- Returns
- The INodeObserver interface.
References Murl::SharedPointer< DataType >::Get().
◆ operator INodeObserverPtr()
|
inline |
Conversion operator.
- Returns
- The INodeObserver interface.
◆ GetNodeObserver()
|
inline |
Get the node observer interface.
- Returns
- The INodeObserver interface.
◆ Add()
|
inline |
Forward to INodeObserver::Add() method.
- Parameters
-
node The observable node object to add.
- Returns
- true if successful.
◆ Remove()
|
inline |
Forward to INodeObserver::Remove() method.
- Parameters
-
node The observable node object to remove.
- Returns
- true if successful.
◆ RemoveAt()
Forward to INodeObserver::RemoveAt() method.
- Parameters
-
index The zero based index of the observable node object to remove.
- Returns
- true if successful.
◆ GetNumberOfNodes()
|
inline |
Forward to INodeObserver::GetNumberOfNodes() method.
- Returns
- The number of observable node objects.
◆ GetNode()
|
inline |
Forward to INodeObserver::GetNode() method.
- Parameters
-
index The zero based index of the observable node object.
- Returns
- The observable node object or null if the index is out of range.
◆ GetNodeIfValid()
|
inline |
Forward to INodeObserver::GetNodeIfValid() method.
- Parameters
-
index The zero based index of the observable node object.
- Returns
- The observable node object or null if the node object is invalid or the index is out of range.
◆ AreValid()
|
inline |
Forward to INodeObserver::AreValid() method.
- Returns
- true if all observed nodes are valid.
◆ RemoveAll()
|
inline |
Forward to INodeObserver::RemoveAll() method.
- Returns
- true if successful.
The documentation for this class was generated from the following file:
- murl_logic_base_node_observer.h