SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Macros
Groups
Pages
src
scl
dynamics
tao
jspace
Status.hpp
Go to the documentation of this file.
1
/*
2
* Stanford Whole-Body Control Framework http://stanford-scl.sourceforge.net/
3
*
4
* Copyright (c) 2010 Stanford University. All rights reserved.
5
*
6
* This program is free software: you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public License
8
* as published by the Free Software Foundation, either version 3 of
9
* the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this program. If not, see
18
* <http://www.gnu.org/licenses/>
19
*/
20
26
#ifndef JSPACE_STATUS_HPP
27
#define JSPACE_STATUS_HPP
28
29
#include <string>
30
31
namespace
jspace {
32
33
class
Status
34
{
35
public
:
36
38
inline
Status
(): ok(true), errstr(
""
) {}
39
Status
(
bool
ok, std::string
const
& errstr);
40
41
inline
operator
bool ()
const
{
return
ok; }
42
43
bool
ok;
44
std::string errstr;
45
};
46
47
}
48
49
#endif // JSPACE_STATUS_HPP
jspace::Status::Status
Status()
Definition:
Status.hpp:38
jspace::Status
Definition:
Status.hpp:33
Generated on Sun Sep 14 2014 02:35:55 for SCL by
1.8.6