ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaGUIMaterialButton Class Reference

#include <albaGUIMaterialButton.h>

Inheritance diagram for albaGUIMaterialButton:
Inheritance graph
[legend]
Collaboration diagram for albaGUIMaterialButton:
Collaboration graph
[legend]

Public Member Functions

 albaGUIMaterialButton (albaVME *vme, albaObserver *listener=NULL)
 
 ~albaGUIMaterialButton ()
 
void OnEvent (albaEventBase *alba_event)
 
void SetListener (albaObserver *listener)
 
albaGUIGetGui ()
 
void UpdateMaterialIcon ()
 
void Enable (bool enable)
 
mmaMaterialGetMaterial ()
 
void SetVME (albaVME *vme)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void CreateGui ()
 

Protected Attributes

albaGUIPicButtonm_MaterialButton
 
wxStaticText * m_MaterialLabel
 
mmaMaterialm_Material
 
albaObserverm_Listener
 
albaGUIm_Gui
 
albaVMEm_Vme
 

Detailed Description

This component allow to manage surface materials.

Definition at line 42 of file albaGUIMaterialButton.h.

Constructor & Destructor Documentation

◆ albaGUIMaterialButton()

albaGUIMaterialButton::albaGUIMaterialButton ( albaVME vme,
albaObserver listener = NULL 
)

◆ ~albaGUIMaterialButton()

albaGUIMaterialButton::~albaGUIMaterialButton ( )

Member Function Documentation

◆ OnEvent()

void albaGUIMaterialButton::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Implements albaObserver.

◆ SetListener()

void albaGUIMaterialButton::SetListener ( albaObserver listener)
inline

Definition at line 48 of file albaGUIMaterialButton.h.

◆ GetGui()

albaGUI * albaGUIMaterialButton::GetGui ( )
inline

Return albaGUIMaterialButton User Interface.

Definition at line 51 of file albaGUIMaterialButton.h.

◆ UpdateMaterialIcon()

void albaGUIMaterialButton::UpdateMaterialIcon ( )

update material icon.

◆ Enable()

void albaGUIMaterialButton::Enable ( bool  enable)

Enable-Disable material button.

◆ GetMaterial()

mmaMaterial * albaGUIMaterialButton::GetMaterial ( )
inline

Definition at line 59 of file albaGUIMaterialButton.h.

◆ SetVME()

void albaGUIMaterialButton::SetVME ( albaVME vme)

◆ CreateGui()

void albaGUIMaterialButton::CreateGui ( )
protected

Create the GUI for the materials.

Member Data Documentation

◆ m_MaterialButton

albaGUIPicButton* albaGUIMaterialButton::m_MaterialButton
protected

Definition at line 67 of file albaGUIMaterialButton.h.

◆ m_MaterialLabel

wxStaticText* albaGUIMaterialButton::m_MaterialLabel
protected

Definition at line 68 of file albaGUIMaterialButton.h.

◆ m_Material

mmaMaterial* albaGUIMaterialButton::m_Material
protected

Definition at line 69 of file albaGUIMaterialButton.h.

◆ m_Listener

albaObserver* albaGUIMaterialButton::m_Listener
protected

Definition at line 71 of file albaGUIMaterialButton.h.

◆ m_Gui

albaGUI* albaGUIMaterialButton::m_Gui
protected

Definition at line 72 of file albaGUIMaterialButton.h.

◆ m_Vme

albaVME* albaGUIMaterialButton::m_Vme
protected

Definition at line 73 of file albaGUIMaterialButton.h.


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