argos::CVisualization Class Referenceabstract

#include <visualization.h>

Inheritance diagram for argos::CVisualization:
Collaboration diagram for argos::CVisualization:

Public Member Functions

 CVisualization ()
 
virtual ~CVisualization ()
 
virtual void Init (TConfigurationNode &t_tree)=0
 Initializes the resource. More...
 
virtual void Reset ()=0
 Resets the resource. More...
 
virtual void Destroy ()=0
 Undoes whatever was done by Init(). More...
 
virtual void Execute ()=0
 
- Public Member Functions inherited from argos::CBaseConfigurableResource
virtual ~CBaseConfigurableResource ()
 Class destructor. More...
 

Protected Attributes

CSimulatorm_cSimulator
 A reference to the simulator. More...
 
CSpacem_cSpace
 A reference to the space. More...
 

Detailed Description

Definition at line 24 of file visualization.h.

Constructor & Destructor Documentation

◆ CVisualization()

argos::CVisualization::CVisualization ( )
inline

Definition at line 28 of file visualization.h.

◆ ~CVisualization()

virtual argos::CVisualization::~CVisualization ( )
inlinevirtual

Definition at line 32 of file visualization.h.

Member Function Documentation

◆ Destroy()

virtual void argos::CVisualization::Destroy ( )
pure virtual

Undoes whatever was done by Init().

Implements argos::CBaseConfigurableResource.

Implemented in argos::CQTOpenGLRender, and argos::CDefaultVisualization.

◆ Execute()

virtual void argos::CVisualization::Execute ( )
pure virtual

◆ Init()

virtual void argos::CVisualization::Init ( TConfigurationNode t_tree)
pure virtual

Initializes the resource.

Parameters
t_treethe base of the XML configuration tree to parse
Exceptions
CARGoSExceptionif an error occurs

Implements argos::CBaseConfigurableResource.

Implemented in argos::CQTOpenGLRender, and argos::CDefaultVisualization.

◆ Reset()

virtual void argos::CVisualization::Reset ( )
pure virtual

Resets the resource.

Implements argos::CBaseConfigurableResource.

Implemented in argos::CQTOpenGLRender, and argos::CDefaultVisualization.

Member Data Documentation

◆ m_cSimulator

CSimulator& argos::CVisualization::m_cSimulator
protected

A reference to the simulator.

Definition at line 45 of file visualization.h.

◆ m_cSpace

CSpace& argos::CVisualization::m_cSpace
protected

A reference to the space.

Definition at line 48 of file visualization.h.