mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
change commenting style in header namespace
This commit is contained in:
parent
f459b129f0
commit
c807dbadf4
22 changed files with 52 additions and 37 deletions
|
@ -193,7 +193,7 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace utils
|
} /* namespace utils */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -49,5 +49,5 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dsp
|
} /* namespace dsp */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -52,5 +52,5 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dsp
|
} /* namespace dsp */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -53,5 +53,5 @@ public:
|
||||||
double calculate(double setpoint, double pv);
|
double calculate(double setpoint, double pv);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dsp
|
} /* namespace dsp */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -77,5 +77,5 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dsp
|
} /* namespace dsp */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -144,4 +144,4 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -294,4 +294,4 @@ protected:
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespacae graph
|
} // namespacae graph
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -54,4 +54,4 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespacae graph
|
} // namespacae graph
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -52,4 +52,4 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespacae graph
|
} // namespacae graph
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -55,4 +55,4 @@ public:
|
||||||
json_t * decode();
|
json_t * decode();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -31,5 +31,5 @@ namespace kernel {
|
||||||
/** Get the version of the kernel. */
|
/** Get the version of the kernel. */
|
||||||
utils::Version getVersion();
|
utils::Version getVersion();
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
} // namespace kernel
|
} /* namespace kernel */
|
||||||
|
|
|
@ -47,8 +47,8 @@ void setPriority(int priority);
|
||||||
*/
|
*/
|
||||||
bool isPreemptible();
|
bool isPreemptible();
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
} // namespace kernel
|
} /* namespace kernel */
|
||||||
} // namespace rt
|
} /* namespace rt */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -162,4 +162,4 @@ private:
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -81,4 +81,4 @@ public:
|
||||||
std::string getLevelName() const;
|
std::string getLevelName() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -61,5 +61,5 @@ using OpalSink_mt = OpalSink<std::mutex>;
|
||||||
using OpalSink_st = OpalSink<spdlog::details::null_mutex>;
|
using OpalSink_st = OpalSink<spdlog::details::null_mutex>;
|
||||||
|
|
||||||
|
|
||||||
} // namespace node
|
} /* namespace node */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -329,4 +329,4 @@ private:
|
||||||
static std::map<int, std::unique_ptr<HostDmaRamAllocator>> allocators;
|
static std::map<int, std::unique_ptr<HostDmaRamAllocator>> allocators;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -271,4 +271,4 @@ private:
|
||||||
static MemoryManager* instance;
|
static MemoryManager* instance;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -135,5 +135,5 @@ protected:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace plugin
|
} /* namespace plugin */
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -62,4 +62,4 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -68,4 +68,4 @@ public:
|
||||||
int run();
|
int run();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
|
|
|
@ -28,14 +28,13 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <signal.h>
|
|
||||||
|
#include <openssl/sha.h>
|
||||||
|
|
||||||
#include <villas/config.h>
|
#include <villas/config.h>
|
||||||
#include <villas/log.h>
|
#include <villas/log.h>
|
||||||
|
@ -202,7 +201,23 @@ pid_t spawn(const char *name, char *const argv[]);
|
||||||
/** Determines the string length as printed on the screen (ignores escable sequences). */
|
/** Determines the string length as printed on the screen (ignores escable sequences). */
|
||||||
size_t strlenp(const char *str);
|
size_t strlenp(const char *str);
|
||||||
|
|
||||||
} // namespace utils
|
/** Calculate SHA1 hash of complete file \p f and place it into \p sha1.
|
||||||
} // namespace villas
|
*
|
||||||
|
* @param sha1[out] Must be SHA_DIGEST_LENGTH (20) in size.
|
||||||
|
* @retval 0 Everything was okay.
|
||||||
|
*/
|
||||||
|
int sha1sum(FILE *f, unsigned char *sha1);
|
||||||
|
|
||||||
|
namespace base64 {
|
||||||
|
|
||||||
|
std::string encode(const std::string &str);
|
||||||
|
std::string encode(const unsigned char *input, size_t len);
|
||||||
|
|
||||||
|
std::string decode(const std::string &str);
|
||||||
|
std::string decode(unsigned char *input, size_t len);
|
||||||
|
|
||||||
|
} /* namespace base64 */
|
||||||
|
} /* namespace utils */
|
||||||
|
} /* namespace villas */
|
||||||
|
|
||||||
using namespace villas::utils;
|
using namespace villas::utils;
|
||||||
|
|
|
@ -49,5 +49,5 @@ public:
|
||||||
inline bool operator>=(const Version& rhs) { return cmp(*this, rhs) >= 0; }
|
inline bool operator>=(const Version& rhs) { return cmp(*this, rhs) >= 0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace villas
|
} /* namespace villas */
|
||||||
} // namespace utils
|
} /* namespace utils */
|
||||||
|
|
Loading…
Add table
Reference in a new issue