mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
-Implementing new Logic class as input interface to all Luppp functionality
This commit is contained in:
parent
0026d12a2c
commit
ad05c9c7d4
2 changed files with 28 additions and 0 deletions
0
src/logic.cxx
Normal file
0
src/logic.cxx
Normal file
28
src/logic.hxx
Normal file
28
src/logic.hxx
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
#ifndef LUPPP_LOGIC_H
|
||||
#define LUPPP_LOGIC_H
|
||||
|
||||
/** Logic
|
||||
* This class contains an interface exposing most functionality in Luppp. The
|
||||
* interface is used to have one central place from where each controller can
|
||||
* interact with Luppp using the same function calls.
|
||||
*
|
||||
* This class should be used for input from any device. The interface is
|
||||
* deliberatly specific with regards to scheduling events: controllers should
|
||||
* NOT attempt to schedule changes: use the provided functions directly when
|
||||
* events occur on a controller.
|
||||
*
|
||||
* The ControllerUpdater class is the opposite of this class, it provides
|
||||
* feedback of each event that occurs.
|
||||
*
|
||||
* Note: The GridLogic class provides the interface to scene selection / state.
|
||||
**/
|
||||
class Logic
|
||||
{
|
||||
public:
|
||||
Logic()
|
||||
|
||||
void
|
||||
};
|
||||
|
||||
#endif // LUPPP_LOGIC_H
|
Loading…
Add table
Reference in a new issue