LRT13  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | List of all members
ComponentSystemUnitTest Class Reference

Test component for the Component system. More...

#include <ComponentSystemUnitTest.h>

Inheritance diagram for ComponentSystemUnitTest:
Component

Public Member Functions

 ComponentSystemUnitTest ()
 Constructs a component with a name.
 
 ~ComponentSystemUnitTest ()
 Frees the resources allocated by the component.
 
virtual void onEnable ()
 Event handler for when the component is enabled.
 
virtual void onDisable ()
 Event handler for when the component is disabled.
 
virtual void enabledPeriodic ()
 Allows the component to update itself when enabled.
 
virtual void disabledPeriodic ()
 Allows the component to execute code when disabled.
 
- Public Member Functions inherited from Component
 Component (std::string name, int dio, bool requiresEnabledState)
 Constructs a component with a name.
 
virtual ~Component ()
 Frees the resources allocated by the component.
 
void Enable ()
 Enables the component.
 
void Disable ()
 Disables the component.
 
bool IsEnabled ()
 Returns whether or not the component is enabled.
 
bool EnableRequired ()
 Returns whether or not the component requires to be in an enabled state.
 
int GetDIO ()
 Gets the digital i/o channel for the component.
 
std::string GetName ()
 Gets the component's name.
 

Detailed Description

Test component for the Component system.

Author
Tony Peng

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