Antares Simulator
Power System Simulator
Antares::Map::PanelInfos Class Reference

Informations about the selected items on the map. More...

#include <infos.h>

Inheritance diagram for Antares::Map::PanelInfos:

Public Types

enum  IDs { idChangeColor = 10000 , idDefaultColor , idOrientation , idAreaName }
 IDs.
 
using ItemList = std::vector< Item * >
 List of item.
 

Constructor & Destructor

 PanelInfos (wxWindow *parent)
 Default constructor. More...
 
virtual ~PanelInfos ()
 Destructor.
 
void refresh (ItemList &newList, const bool force=false)
 Refresh all information about a list of nodes. More...
 

Detailed Description

Informations about the selected items on the map.

Constructor & Destructor Documentation

◆ PanelInfos()

Antares::Map::PanelInfos::PanelInfos ( wxWindow *  parent)

Default constructor.

Parameters
parentThe parent window

Member Function Documentation

◆ refresh()

void Antares::Map::PanelInfos::refresh ( PanelInfos::ItemList newList,
const bool  force = false 
)

Refresh all information about a list of nodes.

The refresh will ionly occur if the list is not the same than the previous given one. This list should be a list of currently selected nodes.

Parameters
newListThe new list of selected items
forceTrue to force the refresh

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