MyRP2_ui_core
Loading...
Searching...
No Matches
TestIncrementalValue Class Reference
Inheritance diagram for TestIncrementalValue:
UIControlledIncrementalValue UIModelObject

Public Member Functions

 TestIncrementalValue (std::string _name, int _min_value=0, int _max_value=10, bool _is_wrapable=false, int increment=1)
 
void process_control_event (ControlEvent _event)
 
std::string get_name ()
 
- Public Member Functions inherited from UIControlledIncrementalValue
 UIControlledIncrementalValue (int _min_value=0, int _max_value=10, bool _is_wrapable=false, int increment=1)
 Construct a new UIControlledIncrementalValue object.
 
 ~UIControlledIncrementalValue ()
 Destroy the UIControlledIncrementalValue object.
 
virtual void increment_value ()
 
virtual void decrement_value ()
 
void set_clipped_value (int _new_value)
 Set the clipped value object.
 
int get_value ()
 Get the value object.
 
int get_min_value ()
 Get the min value object.
 
int get_max_value ()
 Get the max value object.
 
- Public Member Functions inherited from UIModelObject
 ~UIModelObject ()
 Destroy the UIModelObject object.
 
bool has_changed ()
 
void set_change_flag ()
 Set the change flag object.
 
void clear_change_flag ()
 
void update_status (ControlledObjectStatus _new_status)
 
void update_current_controller (UIController *_new_controller)
 
ControlledObjectStatus get_status ()
 Get the status object.
 

Additional Inherited Members

- Protected Attributes inherited from UIControlledIncrementalValue
int value
 
int max_value
 
int min_value
 
int increment
 
bool is_wrappable
 

Detailed Description

Definition at line 16 of file test_controlled_value.h.

Constructor & Destructor Documentation

◆ TestIncrementalValue()

TestIncrementalValue::TestIncrementalValue ( std::string _name,
int _min_value = 0,
int _max_value = 10,
bool _is_wrapable = false,
int increment = 1 )

Definition at line 13 of file test_controlled_value.cpp.

◆ ~TestIncrementalValue()

TestIncrementalValue::~TestIncrementalValue ( )

Definition at line 19 of file test_controlled_value.cpp.

Member Function Documentation

◆ get_name()

std::string TestIncrementalValue::get_name ( )

Definition at line 42 of file test_controlled_value.cpp.

◆ process_control_event()

void TestIncrementalValue::process_control_event ( ControlEvent _event)
virtual
Parameters
_event

Implements UIModelObject.

Definition at line 23 of file test_controlled_value.cpp.


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