Commit 9f0389c3 authored by florent's avatar florent
Browse files

Cosmetic changes

	 * src/dynamic-command.h,
	 * src/dynamic.cpp: fix indentation.
parent 89d217fe
...@@ -40,8 +40,8 @@ namespace sot { ...@@ -40,8 +40,8 @@ namespace sot {
/// \param entity instance of Entity owning this command /// \param entity instance of Entity owning this command
/// \param docstring documentation of the command /// \param docstring documentation of the command
SetFiles(Dynamic& entity, const std::string& docstring) : SetFiles(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING) Command(entity, boost::assign::list_of(Value::STRING)
(Value::STRING)(Value::STRING)(Value::STRING), docstring) (Value::STRING)(Value::STRING)(Value::STRING), docstring)
{ {
} }
virtual Value doExecute() virtual Value doExecute()
...@@ -70,7 +70,7 @@ namespace sot { ...@@ -70,7 +70,7 @@ namespace sot {
/// \param entity instance of Entity owning this command /// \param entity instance of Entity owning this command
/// \param docstring documentation of the command /// \param docstring documentation of the command
Parse(Dynamic& entity, const std::string& docstring) : Parse(Dynamic& entity, const std::string& docstring) :
Command(entity, std::vector<Value::Type>(), docstring) Command(entity, std::vector<Value::Type>(), docstring)
{ {
} }
virtual Value doExecute() virtual Value doExecute()
...@@ -92,8 +92,8 @@ namespace sot { ...@@ -92,8 +92,8 @@ namespace sot {
/// \param entity instance of Entity owning this command /// \param entity instance of Entity owning this command
/// \param docstring documentation of the command /// \param docstring documentation of the command
CreateOpPoint(Dynamic& entity, const std::string& docstring) : CreateOpPoint(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING),
docstring) docstring)
{ {
} }
virtual Value doExecute() virtual Value doExecute()
...@@ -139,8 +139,8 @@ namespace sot { ...@@ -139,8 +139,8 @@ namespace sot {
/// \param entity instance of Entity owning this command /// \param entity instance of Entity owning this command
/// \param docstring documentation of the command /// \param docstring documentation of the command
SetProperty(Dynamic& entity, const std::string& docstring) : SetProperty(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING), Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING),
docstring) docstring)
{ {
} }
virtual Value doExecute() virtual Value doExecute()
...@@ -164,8 +164,8 @@ namespace sot { ...@@ -164,8 +164,8 @@ namespace sot {
/// \param entity instance of Entity owning this command /// \param entity instance of Entity owning this command
/// \param docstring documentation of the command /// \param docstring documentation of the command
GetProperty(Dynamic& entity, const std::string& docstring) : GetProperty(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING), Command(entity, boost::assign::list_of(Value::STRING),
docstring) docstring)
{ {
} }
virtual Value doExecute() virtual Value doExecute()
......
...@@ -152,8 +152,7 @@ Dynamic( const std::string & name, bool build ) ...@@ -152,8 +152,7 @@ Dynamic( const std::string & name, bool build )
" - a string: name the joint, among (gaze, left-ankle, right ankle\n" " - a string: name the joint, among (gaze, left-ankle, right ankle\n"
" , left-wrist, right-wrist, waist, chest).\n" " , left-wrist, right-wrist, waist, chest).\n"
"\n"; "\n";
addCommand("createOpPoint", addCommand("createOpPoint", new command::CreateOpPoint(*this, docstring));
new command::CreateOpPoint(*this, docstring));
// SetProperty // SetProperty
docstring = " \n" docstring = " \n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment