Player
Frontpage
Contents
User
Installation
Quick start
Supported devices
Tutorials
Utilities
Client libraries
FAQ
Help
Developer
Architecture
libplayercore
libplayerinterface
interfaces
libplayerdrivers
drivers
libplayercommon
libplayersd
libplayertcp
libplayerxdr
TODO
Online
Homepage
Download
Project
Bugs
Help
server
drivers
wsn
mote
MoteException.h
1
/********************************************************************
2
*
3
* This library is free software; you can redistribute it and/or
4
* modify it under the terms of the GNU Lesser General Public
5
* License as published by the Free Software Foundation; either
6
* version 2.1 of the License, or (at your option) any later version.
7
*
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this library; if not, write to the Free Software
15
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
*
17
********************************************************************/
18
/*********************************************************************
19
* TinyOS data structures.
20
* Portions borrowed from the TinyOS project (http://www.tinyos.net),
21
* distributed according to the Intel Open Source License.
22
*********************************************************************/
23
/***************************************************************************
24
* Desc: Library for generic Crossbow WSN nodes communication
25
* Author: Jose Manuel Sanchez Matamoros, Adrian Jimenez Gonzalez
26
* Date: 15 Aug 2011
27
**************************************************************************/
28
29
30
#ifndef MOTEEXCEPION_H
31
#define MOTEEXCEPION_H
32
33
#include <string>
34
using
std::string;
35
36
namespace
mote {
37
38
class
MoteException
{
39
public
:
40
const
char
*what();
41
void
append(
const
char
*text );
42
protected
:
43
std::string str;
44
};
45
46
47
class
CRCException
:
public
MoteException
{};
48
class
TimeoutException
:
public
MoteException
{};
49
class
IOException
:
public
MoteException
{};
50
51
}
52
53
#endif
54
mote::CRCException
Definition
MoteException.h:47
mote::IOException
Definition
MoteException.h:49
mote::MoteException
Definition
MoteException.h:38
mote::TimeoutException
Definition
MoteException.h:48
Generated on Thu Jul 25 2024 00:00:00 for Player by
1.12.0