Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::VariableStatusChangedEventArgs Class Reference

Arguments of the event notifying a change in the state of a variable. More...

#include <arcane/core/VariableStatusChangedEventArgs.h>

Collaboration diagram for Arcane::VariableStatusChangedEventArgs:

Public Types

enum class  Status { Added , Removed }

Public Member Functions

 VariableStatusChangedEventArgs (IVariable *var, Status s)
 VariableStatusChangedEventArgs (const VariableStatusChangedEventArgs &rhs)=default
VariableStatusChangedEventArgs & operator= (const VariableStatusChangedEventArgs &rhs)=default
IVariablevariable () const
 Variable whose state changes.
Status status () const
 Status.

Private Attributes

IVariablem_variable = nullptr
Status m_status = Status::Added

Detailed Description

Arguments of the event notifying a change in the state of a variable.

Definition at line 36 of file VariableStatusChangedEventArgs.h.

Member Enumeration Documentation

◆ Status

Enumerator
Added 

Variable added.

Removed 

Variable removed.

Definition at line 40 of file VariableStatusChangedEventArgs.h.

Constructor & Destructor Documentation

◆ VariableStatusChangedEventArgs()

Arcane::VariableStatusChangedEventArgs::VariableStatusChangedEventArgs ( IVariable * var,
Status s )
inline

Definition at line 50 of file VariableStatusChangedEventArgs.h.

Member Function Documentation

◆ status()

Status Arcane::VariableStatusChangedEventArgs::status ( ) const
inline

Status.

Definition at line 62 of file VariableStatusChangedEventArgs.h.

◆ variable()

IVariable * Arcane::VariableStatusChangedEventArgs::variable ( ) const
inline

Variable whose state changes.

Definition at line 60 of file VariableStatusChangedEventArgs.h.

Member Data Documentation

◆ m_status

Status Arcane::VariableStatusChangedEventArgs::m_status = Status::Added
private

Definition at line 67 of file VariableStatusChangedEventArgs.h.

◆ m_variable

IVariable* Arcane::VariableStatusChangedEventArgs::m_variable = nullptr
private

Definition at line 66 of file VariableStatusChangedEventArgs.h.


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