Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::shapes::DamperSymbol Class Reference

#include <DamperSymbol.hpp>

Public Member Functions

 DamperSymbol (iv::types::width sizeX, iv::types::height sizeY)
 
 DamperSymbol (const DamperSymbol *other)
 
 ~DamperSymbol ()
 
void draw (iv::mimics::traits::eOpClState state, iv::types::color colorWorkingState, iv::types::color colorRemoteState, IGraphics *graphics)
 
void removeObjects (IGraphics *graphics) const
 
void setControlSize (iv::types::width width, iv::types::height height)
 

Private Attributes

iv::types::width m_sizeX
 
iv::types::height m_sizeY
 
std::unique_ptr< CCircleGraphicsm_circleGraphicsOpt {nullptr}
 
std::unique_ptr< CRectangleGraphicsm_rectangleGraphicsOpt {nullptr}
 
std::unique_ptr< CRectangleGraphicsm_rectangleDoorOpt {nullptr}
 

Constructor & Destructor Documentation

◆ DamperSymbol() [1/2]

iv::shapes::DamperSymbol::DamperSymbol ( iv::types::width sizeX,
iv::types::height sizeY )

◆ DamperSymbol() [2/2]

iv::shapes::DamperSymbol::DamperSymbol ( const DamperSymbol * other)
explicit

◆ ~DamperSymbol()

iv::shapes::DamperSymbol::~DamperSymbol ( )
default

Member Function Documentation

◆ draw()

void iv::shapes::DamperSymbol::draw ( iv::mimics::traits::eOpClState state,
iv::types::color colorWorkingState,
iv::types::color colorRemoteState,
IGraphics * graphics )

◆ removeObjects()

void iv::shapes::DamperSymbol::removeObjects ( IGraphics * graphics) const

◆ setControlSize()

void iv::shapes::DamperSymbol::setControlSize ( iv::types::width width,
iv::types::height height )

Member Data Documentation

◆ m_circleGraphicsOpt

std::unique_ptr<CCircleGraphics> iv::shapes::DamperSymbol::m_circleGraphicsOpt {nullptr}
private

◆ m_rectangleDoorOpt

std::unique_ptr<CRectangleGraphics> iv::shapes::DamperSymbol::m_rectangleDoorOpt {nullptr}
private

◆ m_rectangleGraphicsOpt

std::unique_ptr<CRectangleGraphics> iv::shapes::DamperSymbol::m_rectangleGraphicsOpt {nullptr}
private

◆ m_sizeX

iv::types::width iv::shapes::DamperSymbol::m_sizeX
private

◆ m_sizeY

iv::types::height iv::shapes::DamperSymbol::m_sizeY
private

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