00001
00002
00003 #ifndef _ROBOTINOINFO_H_
00004 #define _ROBOTINOINFO_H_
00005
00006 #include <string>
00007
00013 class RobotinoInfo
00014 {
00015 public:
00016
00017 static const int MaxMessageLength = 2000;
00018
00019 RobotinoInfo()
00020 : _message( "not available" )
00021 , _isPassiveMode( false )
00022 {
00023 }
00024
00025 void setMessage( const std::string& message )
00026 {
00027 _message = message;
00028 }
00029
00030 std::string message() const
00031 {
00032 return _message;
00033 }
00034
00035 void setPassiveMode( bool on )
00036 {
00037 _isPassiveMode = on;
00038 }
00039
00040 bool isPassiveMode() const
00041 {
00042 return _isPassiveMode;
00043 }
00044
00045 private:
00046 std::string _message;
00047 bool _isPassiveMode;
00048 };
00049
00050 #endif