source: pacpussensors/trunk/Wifibot/wifibot.h@ 149

Last change on this file since 149 was 99, checked in by nguyenhu, 9 years ago

compilation under linux with 0.2.X framework

File size: 1.1 KB
RevLine 
[21]1/*********************************************************************
2// created: 2012/03/01 - 14:06
3// filename: Wifibot.h
4//
5// author: Pierre Hudelaine
6// Copyright Heudiasyc UMR UTC/CNRS 7253
[99]7//
[21]8// version: $Id: $
9//
[22]10// purpose: Control the wifibot with the dualshock 3
[21]11//
12*********************************************************************/
13#ifndef WIFIBOT_API
[99]14# define WIFIBOT_API
[21]15
16#include "ps3remote.h"
17#include "Pacpus/kernel/Log.h"
[99]18#include "Pacpus/kernel/ComponentBase.h"
19#include "Pacpus/kernel/ComponentFactory.h"
20#include "Pacpus/kernel/ComponentManager.h"
[21]21
22namespace pacpus {
23
24class WIFIBOT_API Wifibot
25 : public QObject
[99]26 , public ComponentBase
27{
[21]28 Q_OBJECT
29
[99]30public:
[21]31 /// Constructor
32 Wifibot (QString name);
33 /// Destructor
34 ~Wifibot();
[99]35
[21]36protected:
37 // The 3 virtual methods relative to the ComponentBase inheritance
38 virtual void startActivity();
39 virtual void stopActivity();
40 virtual COMPONENT_CONFIGURATION configureComponent (XmlComponentConfig config);
[99]41
[21]42private:
43 PS3remote * dualshock;
[99]44 PacpusUDPSocket * pacpusSocket_;
[21]45};
46
47} // namespace pacpus
[99]48#endif
Note: See TracBrowser for help on using the repository browser.