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 {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
SetFiles(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING)
(Value::STRING)(Value::STRING)(Value::STRING), docstring)
Command(entity, boost::assign::list_of(Value::STRING)
(Value::STRING)(Value::STRING)(Value::STRING), docstring)
{
}
virtual Value doExecute()
......@@ -70,7 +70,7 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
Parse(Dynamic& entity, const std::string& docstring) :
Command(entity, std::vector<Value::Type>(), docstring)
Command(entity, std::vector<Value::Type>(), docstring)
{
}
virtual Value doExecute()
......@@ -92,8 +92,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
CreateOpPoint(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING),
docstring)
Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING),
docstring)
{
}
virtual Value doExecute()
......@@ -139,8 +139,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
SetProperty(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING),
docstring)
Command(entity, boost::assign::list_of(Value::STRING)(Value::STRING),
docstring)
{
}
virtual Value doExecute()
......@@ -164,8 +164,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
GetProperty(Dynamic& entity, const std::string& docstring) :
Command(entity, boost::assign::list_of(Value::STRING),
docstring)
Command(entity, boost::assign::list_of(Value::STRING),
docstring)
{
}
virtual Value doExecute()
......
......@@ -152,8 +152,7 @@ Dynamic( const std::string & name, bool build )
" - a string: name the joint, among (gaze, left-ankle, right ankle\n"
" , left-wrist, right-wrist, waist, chest).\n"
"\n";
addCommand("createOpPoint",
new command::CreateOpPoint(*this, docstring));
addCommand("createOpPoint", new command::CreateOpPoint(*this, docstring));
// SetProperty
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