mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
refactor: improve code-style
This commit is contained in:
parent
e341b7c0dc
commit
f8850b4110
22 changed files with 58 additions and 58 deletions
|
@ -132,9 +132,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -44,7 +44,7 @@ const int version = 1;
|
|||
/* Forward declarations */
|
||||
class Session;
|
||||
|
||||
} // namespace api
|
||||
} /* namespace api */
|
||||
|
||||
/* Forward declarations */
|
||||
class SuperNode;
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace sessions {
|
|||
/* Forward declarations */
|
||||
class Socket;
|
||||
|
||||
} // namespace sessions
|
||||
} /* namespace sessions */
|
||||
|
||||
class Server {
|
||||
|
||||
|
@ -76,6 +76,6 @@ public:
|
|||
void run(int timeout = 100);
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace api */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -220,5 +220,5 @@ public:
|
|||
{ return prio; }
|
||||
};
|
||||
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -86,5 +86,5 @@ public:
|
|||
{ }
|
||||
};
|
||||
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -62,4 +62,4 @@ public:
|
|||
|
||||
};
|
||||
|
||||
} // namespace villas
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -37,7 +37,7 @@ private:
|
|||
std::condition_variable cv;
|
||||
|
||||
public:
|
||||
void push(const T& data)
|
||||
void push(const T &data)
|
||||
{
|
||||
Queue<T>::push(data);
|
||||
|
||||
|
@ -58,4 +58,4 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace villas
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -101,5 +101,5 @@ public:
|
|||
void callbackOnWritable(struct lws *wsi);
|
||||
};
|
||||
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -42,5 +42,5 @@ static char n[] = "example";
|
|||
static char d[] = "This is just a simple example hook";
|
||||
static HookPlugin<ExampleHook, n, d, (int) Hook::Flags::PATH> p;
|
||||
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -93,9 +93,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -172,9 +172,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -144,9 +144,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -312,9 +312,9 @@ stop: sent = io_print(&io, smps, send);
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -194,9 +194,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -511,9 +511,9 @@ check: if (optarg == endptr)
|
|||
};
|
||||
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -523,9 +523,9 @@ const lws_http_mount Relay::mount = {
|
|||
.basic_auth_login_file =nullptr,
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -169,6 +169,6 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
|
|
@ -322,9 +322,9 @@ out: sample_decref(t);
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -279,9 +279,9 @@ out: for (auto side : sides)
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -109,9 +109,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -254,9 +254,9 @@ check: if (optarg == endptr)
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -73,9 +73,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace tools
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
} /* namespace tools */
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue