17 #ifndef _GAZEBO_USER_CMD_MANAGER_HH_ 18 #define _GAZEBO_USER_CMD_MANAGER_HH_ 43 public:
UserCmd(
const unsigned int _id,
45 const std::string &_description,
46 const msgs::UserCmd::Type &_type);
52 public:
virtual void Undo();
55 public:
virtual void Redo();
59 public:
unsigned int Id()
const;
63 public: std::string Description()
const;
67 public: msgs::UserCmd::Type Type()
const;
74 class UserCmdManagerPrivate;
89 private:
void OnUserCmdMsg(ConstUserCmdPtr &_msg);
94 private:
void OnUndoRedoMsg(ConstUndoRedoPtr &_msg);
97 private:
void PublishCurrentStats();
101 private: UserCmdManagerPrivate *dataPtr;
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:84
Forward declarations for the common classes.
Definition: Animation.hh:33
Forward declarations for transport.
default namespace for gazebo
UserCmdPrivate * dataPtr
Definition: UserCmdManager.hh:71
Class which represents a user command, which can be "undone" and "redone".
Definition: UserCmdManager.hh:35
Manages user commands from the server side.
Definition: UserCmdManager.hh:77
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59