Skip to content

Commit 6317aea

Browse files
author
Murilo Marinho
committed
[doc] Add short sentence to each file in src.
1 parent e4bb462 commit 6317aea

14 files changed

Lines changed: 72 additions & 3 deletions

src/eigen3_std_conversions.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#
2323
# ################################################################*/
2424

25+
/**
26+
* @file eigen3_std_conversions.cpp
27+
* @brief Conversion functions between Eigen, STL containers, and DQ.
28+
*/
2529
#include<sas_core/eigen3_std_conversions.hpp>
2630

2731
namespace sas

src/examples/sas_clock_example.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
#
2323
# ################################################################*/
2424

25+
/**
26+
* @file sas_clock_example.cpp
27+
* @brief Example showing how to use sas::Clock to time loops.
28+
*/
29+
2530
#include <iostream>
2631

2732
#include <sas_core/sas_clock.hpp>

src/examples/sas_clock_sched_fifo_example.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
#
2323
# ################################################################*/
2424

25+
/**
26+
* @file sas_clock_sched_fifo_example.cpp
27+
* @brief Example demonstrating Clock with realtime SCHED_FIFO.
28+
*/
29+
2530
#include <iostream>
2631

2732
#include <sas_core/sas_clock.hpp>

src/examples/sas_core_example.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
#
2323
# ################################################################*/
2424

25+
/**
26+
* @file sas_core_example.cpp
27+
* @brief Example testing core utilities.
28+
*/
29+
2530
#include <eigen3/Eigen/Dense>
2631
#include <sas_core/sas_core.hpp>
2732

src/examples/sas_robot_driver_example.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
# Author: Murilo M. Marinho, email: murilomarinho@ieee.org
2222
#
2323
# ################################################################*/
24+
25+
/**
26+
* @file sas_robot_driver_example.cpp
27+
* @brief Example implementation of a RobotDriver.
28+
*/
2429
#include <sas_core/examples/sas_robot_driver_example.hpp>
2530
#include <iostream>
2631

src/examples/sas_robot_driver_example_main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
# Author: Murilo M. Marinho, email: murilomarinho@ieee.org
2222
#
2323
# ################################################################*/
24+
25+
/**
26+
* @file sas_robot_driver_example_main.cpp
27+
* @brief C++ example showcasing a sample RobotDriver subclass.
28+
*/
2429
#include <sas_core/examples/sas_robot_driver_example.hpp>
2530
#include <iostream>
2631

src/sas_clock.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
#
2323
# ################################################################*/
2424

25+
/**
26+
* @file sas_clock.cpp
27+
* @brief Timing utilities for control loops.
28+
*/
29+
2530
#include <thread>
2631

2732
#include "sas_core/sas_clock.hpp"

src/sas_core.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
# Author: Murilo M. Marinho, email: murilomarinho@ieee.org
2222
#
2323
# ################################################################*/
24+
25+
/**
26+
* @file sas_core.cpp
27+
* @brief Implementation of core functions.
28+
*/
2429
#include <sas_core/sas_core.hpp>
2530
#include <mutex>
2631

src/sas_core_py.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
#
2323
# ################################################################*/
2424

25+
/**
26+
* @file sas_core_py.cpp
27+
* @brief Python bindings for core classes.
28+
*/
29+
2530
#include "sas_core_py.hpp"
2631
#include <sas_core/sas_clock.hpp>
2732
#include <sas_core/sas_shutdown_signaler.hpp>

src/sas_core_py.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
#
2424
# ################################################################*/
2525

26+
/**
27+
* @file sas_core_py.hpp
28+
* @brief Functions to separately initialise more complex Python bindings.
29+
*/
30+
2631
#include <pybind11/pybind11.h>
2732
#include <pybind11/stl.h>
2833
#include <pybind11/eigen.h>

0 commit comments

Comments
 (0)