Helios++
Helios software for LiDAR simulations
DynGrove< Subject > Class Template Referenceabstract

A DynGrove is an interface which declares observer-like functionality so dynamic subjects can notify to the grove their updates, which acts like a proxy for observer trees. More...

#include <DynGrove.h>

Inheritance diagram for DynGrove< Subject >:

Public Member Functions

virtual void update (Subject &s)=0
 The update method. It is expected that always that a subject must notify that it has been updated, it calls this method so the observer can act as corresponds. More...
 

Detailed Description

template<typename Subject>
class DynGrove< Subject >

A DynGrove is an interface which declares observer-like functionality so dynamic subjects can notify to the grove their updates, which acts like a proxy for observer trees.

Author
Alberto M. Esmoris Pena
Version
1.0
Template Parameters
SubjectThe type of subject for the observer-like behavior of the DynGrove interface

Member Function Documentation

◆ update()

template<typename Subject >
virtual void DynGrove< Subject >::update ( Subject &  s)
pure virtual

The update method. It is expected that always that a subject must notify that it has been updated, it calls this method so the observer can act as corresponds.

Parameters
sThe subject notifying its update

Implemented in BasicDynGrove< Tree, Subject >.


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