Skip to content

Commit

Permalink
update outletController docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmales committed Dec 8, 2023
1 parent 2ac2b01 commit 2ecd896
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions libMagAOX/app/dev/outletController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,25 @@ namespace dev
/** Controls a set of outlets on a device, such as A/C power outlets or digital outputs.
* The outlets are organized into channels, which could be made up of multiple outlets.
*
* Requirements:
* derivedT must be a MagAOXApp, and additionally it must implement the functions
* \code
int turnOutletOn( int outletNum );
int turnOutletOff( int outletNum );
int updateOutletState( int outletNum );
* \endcode
* and optionally
* \code
int updateOutletStates();
\endcode
*
* Other requirements:
* - call `setNumberOfOutlets` in the derived class constructor
*
*
* \tparam derivedT specifies a MagAOXApp parent base class which is accessed with a `static_cast` (downcast)to perform various methods.
* \tparam derivedT specifies a MagAOXApp parent base class which is accessed with a `static_cast` (downcast)
* to perform various methods.
*
* \ingroup appdev
*
Expand Down

0 comments on commit 2ecd896

Please sign in to comment.