21 #ifndef TARGETETHCONTROLLER_H
22 #define TARGETETHCONTROLLER_H
24 #include "TargetController.h"
28 class FrameworkManager;
50 uint16_t port, uint8_t priority = 0);
54 bool IsConnected()
const;
56 std::string GetAxisName(
unsigned int axisId)
const;
58 std::string GetButtonName(
unsigned int axisId)
const;
61 bool IsControllerActionSupported(ControllerAction action)
const;
63 bool IsDataFrameReady();
70 bool ControllerInitialization();
73 uint16_t readBits(uint8_t offsetInBits, uint8_t valueSizeInBits,
char *buffer,
75 uint8_t getByteOrNull(
char *buffer,
int byte,
size_t bufferSize);
76 uint32_t charBufferToUint32(
char *buffer,
size_t bufferSize);
81 std::string *axisName = NULL;
82 std::string *buttonName = NULL;
84 char *dataFrameBuffer;
85 char *receiveFrameBuffer;
86 size_t receiveCurrentPosition;
92 #endif // TARGETCONTROLLER_H
namespace of the flair Framework
Definition: Ahrs.h:19
Class defining a matrix of kind CvMat.
Definition: cvmatrix.h:33
Class encapsulating a TCP socket.
Definition: TcpSocket.h:25
Class encapsulating a UDP socket. It assumes packets are coming from only one distant host on a given...
Definition: Socket.h:31
Base Class for target side remote controls.
Definition: TargetController.h:49
Main class of the Framework library.
Definition: FrameworkManager.h:45
Definition: TargetEthController.h:47