mirror of
https://github.com/wavemotion-dave/NINTV-DS.git
synced 2025-06-18 13:55:33 -04:00
28 lines
503 B
C++
28 lines
503 B
C++
|
|
#ifndef INPUTCONSUMERBUS_H
|
|
#define INPUTCONSUMERBUS_H
|
|
|
|
#include "InputConsumer.h"
|
|
|
|
const INT32 MAX_INPUT_CONSUMERS = 10;
|
|
|
|
class InputConsumerBus
|
|
{
|
|
|
|
public:
|
|
InputConsumerBus();
|
|
void reset();
|
|
void evaluateInputs();
|
|
|
|
void addInputConsumer(InputConsumer* ic);
|
|
void removeInputConsumer(InputConsumer* ic);
|
|
void removeAll();
|
|
|
|
private:
|
|
InputConsumer* inputConsumers[MAX_INPUT_CONSUMERS];
|
|
UINT32 inputConsumerCount;
|
|
|
|
};
|
|
|
|
#endif
|