3#include "ManagedObject.h"
5using oceandirect::api::LHGpioAPI;
6using NetOceanDirect::ManagedObject;
7using NetOceanDirect::MemoryCleanup;
11 typedef ManagedObject<LHGpioAPI, MemoryCleanup::noDeletion>
GpioBase;
27 virtual unsigned char getNumberOfGPIO(
unsigned int deviceID,
int %errorCode);
42 virtual void setOutputState(
unsigned int deviceID,
int %errorCode,
unsigned int direction,
unsigned int bitmask);
53 virtual unsigned int getOutputState(
unsigned int deviceID,
int %errorCode);
65 virtual void setValue(
unsigned int deviceID,
int %errorCode,
unsigned int value,
unsigned int bitmask);
74 virtual unsigned int getValue(
unsigned int deviceID,
int %errorCode);
Definition NetLighthouseGpio.h:14
virtual void setOutputState(unsigned int deviceID, int %errorCode, unsigned int direction, unsigned int bitmask)
Definition NetLighthouseGpio.cpp:23
virtual unsigned char getNumberOfGPIO(unsigned int deviceID, int %errorCode)
Definition NetLighthouseGpio.cpp:18
virtual unsigned int getOutputState(unsigned int deviceID, int %errorCode)
Definition NetLighthouseGpio.cpp:30
static NetLighthouseGpio gpio
Definition NetLighthouseGpio.h:76
virtual unsigned int getValue(unsigned int deviceID, int %errorCode)
Definition NetLighthouseGpio.cpp:40
NetLighthouseGpio()
Definition NetLighthouseGpio.cpp:7
static NetLighthouseGpio getInstance()
Definition NetLighthouseGpio.cpp:11
virtual ~NetLighthouseGpio()
Definition NetLighthouseGpio.h:18
virtual void setValue(unsigned int deviceID, int %errorCode, unsigned int value, unsigned int bitmask)
Definition NetLighthouseGpio.cpp:35
Definition NetLighthouse.h:21
ManagedObject< LHGpioAPI, MemoryCleanup::noDeletion > GpioBase
Definition NetLighthouseGpio.h:11