Helios++
Helios software for LiDAR simulations
HeliosDemos::BaseDemo Class Referenceabstract

BaseDemo class. More...

#include <BaseDemo.h>

Inheritance diagram for HeliosDemos::BaseDemo:
Collaboration diagram for HeliosDemos::BaseDemo:

Public Member Functions

 BaseDemo (string const name)
 Base demo constructor. More...
 
string getName ()
 Obtain the demo name. More...
 
virtual void run ()=0
 Run the demo itself. More...
 

Protected Attributes

string const name
 The name for the demo.
 

Detailed Description

BaseDemo class.

Author
Alberto M. Esmoris Pena
Version
1.0

Can be overridden to implement new demos.

NOTICE in order for a demo to be runnable it must override the run method to implement the demo behavior

Constructor & Destructor Documentation

◆ BaseDemo()

HeliosDemos::BaseDemo::BaseDemo ( string const  name)
inline

Base demo constructor.

Parameters
nameName for the demo

Member Function Documentation

◆ getName()

string HeliosDemos::BaseDemo::getName ( )
inline

Obtain the demo name.

Returns
Demo name

◆ run()

virtual void HeliosDemos::BaseDemo::run ( )
pure virtual

Run the demo itself.

Only demos implementing a run method will be runnable

Implemented in HeliosDemos::SimplePrimitivesDemo, HeliosDemos::RaycastingDemo, and HeliosDemos::DynamicSceneDemo.


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