Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Public Attributes | List of all members
Mezzanine::UI::SpinnerValueChangedArguments Class Reference

This is the EventArguments class for when the spinvalue of a Spinner is updated. More...

#include <spinner.h>

+ Inheritance diagram for Mezzanine::UI::SpinnerValueChangedArguments:
+ Collaboration diagram for Mezzanine::UI::SpinnerValueChangedArguments:

Public Member Functions

 SpinnerValueChangedArguments (const String &Name, const String &Source, const Real &OldValue, const Real &NewValue)
 Class constructor. More...
 
virtual ~SpinnerValueChangedArguments ()
 Class destructor.
 
virtual SpinnerValueChangedArgumentsGetMostDerived ()
 Get a pointer to the most Derived type of this instance. More...
 
- Public Member Functions inherited from Mezzanine::UI::WidgetEventArguments
 WidgetEventArguments (const String &Name, const String &Source)
 Class constructor. More...
 
virtual ~WidgetEventArguments ()
 Class destructor.
 
- Public Member Functions inherited from Mezzanine::EventArguments
 EventArguments (const String &Name)
 Class constructor. More...
 
virtual ~EventArguments ()
 Class destructor.
 
Whole DecrementReferenceCount ()
 Decrease the reference count by one and return the updated count. More...
 
Whole GetReferenceCount () const
 Get the current amount of references. More...
 
EventArgumentsGetReferenceCountTargetAsPointer ()
 Gets the actual pointer to the target of the base type. More...
 
Whole IncrementReferenceCount ()
 Increase the reference count by one and return the updated count. More...
 

Public Attributes

const Real NewSpinValue
 The post-update value of the calling Spinner.
 
const Real OldSpinValue
 The pre-update value of the calling Spinner.
 
- Public Attributes inherited from Mezzanine::UI::WidgetEventArguments
const String WidgetName
 The identification of the source firing this event.
 
- Public Attributes inherited from Mezzanine::EventArguments
const String EventName
 The name of the event being fired.
 

Detailed Description

This is the EventArguments class for when the spinvalue of a Spinner is updated.

Definition at line 58 of file spinner.h.

Constructor & Destructor Documentation

Mezzanine::UI::SpinnerValueChangedArguments::SpinnerValueChangedArguments ( const String Name,
const String Source,
const Real OldValue,
const Real NewValue 
)
inline

Class constructor.

Parameters
NameThe name of the event being fired.
SourceThe identification of the widget firing this event.
OldValueThe pre-update value of the calling Spinner.
NewValueThe post-update value of the calling Spinner.

Definition at line 77 of file spinner.h.

Member Function Documentation

virtual SpinnerValueChangedArguments* Mezzanine::UI::SpinnerValueChangedArguments::GetMostDerived ( )
inlinevirtual

Get a pointer to the most Derived type of this instance.

Returns
Returns a pointer of the most derived type of this.

Reimplemented from Mezzanine::UI::WidgetEventArguments.

Definition at line 86 of file spinner.h.


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