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

Last change on this file since 21 was 21, checked in by phudelai, 11 years ago

New component for the wifibot and the dualshock 3

File size: 1.1 KB
Line 
1/*********************************************************************
2// created: 2012/03/01 - 14:06
3// filename: Wifibot.h
4//
5// author: Pierre Hudelaine
6// Copyright Heudiasyc UMR UTC/CNRS 7253
7//
8// version: $Id: $
9//
10// purpose:
11//
12*********************************************************************/
13#ifndef WIFIBOT_API
14# define WIFIBOT_API
15
16#include "ps3remote.h"
17#include "Pacpus/kernel/Log.h"
18#include "Pacpus/kernel/ComponentBase.h"
19#include "Pacpus/kernel/ComponentFactory.h"
20
21
22namespace pacpus {
23
24class WIFIBOT_API Wifibot
25 : public QObject
26 , public ComponentBase
27{
28 Q_OBJECT
29
30public:
31 /// Constructor
32 Wifibot (QString name);
33 /// Destructor
34 ~Wifibot();
35
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);
41
42private:
43 PS3remote * dualshock;
44 PacpusSocket * pacpusSocket_;
45};
46
47} // namespace pacpus
48#endif
Note: See TracBrowser for help on using the repository browser.