RSSwitch allows for manipulation of the Realtime and Simulation toggle switches.  
 More...
RSSwitch allows for manipulation of the Realtime and Simulation toggle switches. 
◆ modeSwitched()
      
        
          | void RSSwitch::modeSwitched | ( | bool |  | ) |  | 
      
 
This event is emitted when the mode is switched between Realtime and Simulation. 
- isRealtime, true if the mode is switched to Realtime mode, otherwise false.
IPC event. 
 
 
◆ setDisabled()
      
        
          | void RSSwitch::setDisabled | ( | bool |  | ) |  | 
      
 
Enables or disables input events to this widget. 
- Parameters
- 
  
    | bDisabled,true | to disable input events to this widget, false to enable input events. |  
 
 
 
◆ setVisible()
      
        
          | void RSSwitch::setVisible | ( | bool |  | ) |  | 
      
 
Shows or hides this widget from view. 
- Parameters
- 
  
    | bVisible,true | to show this widget, false to hide it. |  
 
 
 
◆ setWidgetDisable()
      
        
          | void RSSwitch::setWidgetDisable | ( | string | , | 
        
          |  |  | bool |  | 
        
          |  | ) |  |  | 
      
 
Enables or disables the specified child widget. 
- Parameters
- 
  
    | widgetName,where | widgetName can be one of the following: RealtimeBtn, SimulationBtn. |  | bDisabled,true | to disable input events to this child widget, false to enable input events. |  
 
 
 
◆ setWidgetVisible()
      
        
          | void RSSwitch::setWidgetVisible | ( | string | , | 
        
          |  |  | bool |  | 
        
          |  | ) |  |  | 
      
 
Shows or hides the specified child widget. 
- Parameters
- 
  
    | widgetName,where | widgetName can be one of the following: RealtimeBtn, SimulationBtn. |  | bVisible,true | to show this child widget, false to hide it. |  
 
 
 
◆ showRealtimeMode()
      
        
          | void RSSwitch::showRealtimeMode | ( |  | ) |  | 
      
 
Switches to Realtime mode. 
 
 
◆ showSimulationMode()
      
        
          | void RSSwitch::showSimulationMode | ( |  | ) |  | 
      
 
 
The documentation for this class was generated from the following file: