aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2017-11-03 09:58:13 +0100
committerPiotr Krysik <ptrkrysik@gmail.com>2017-11-03 09:58:13 +0100
commitd32ba5b47170c6f3b49815e8e9ea1c9c3054d7a9 (patch)
tree0fe93fdda9a90de8068a7bd6d6dd8498a8c57826 /include
parent6e41d06bbfa897f6287ea14ee473683aa3576f5a (diff)
Removed unused (and problematic during SWIG) part of time_spec_t and exposed time_spec_t in the library's ABI
Diffstat (limited to 'include')
-rw-r--r--include/grgsm/misc_utils/time_spec.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/grgsm/misc_utils/time_spec.h b/include/grgsm/misc_utils/time_spec.h
index cc7f104..6ae5963 100644
--- a/include/grgsm/misc_utils/time_spec.h
+++ b/include/grgsm/misc_utils/time_spec.h
@@ -18,6 +18,7 @@
#ifndef INCLUDED_TYPES_TIME_SPEC_HPP
#define INCLUDED_TYPES_TIME_SPEC_HPP
+#include <grgsm/api.h>
#include <boost/operators.hpp>
#include <ctime>
@@ -36,17 +37,10 @@ namespace gr {
* This gives the fractional seconds enough precision to unambiguously
* specify a clock-tick/sample-count up to rates of several petahertz.
*/
- class time_spec_t : boost::additive<time_spec_t>, boost::totally_ordered<time_spec_t>{
+ class GRGSM_API time_spec_t : boost::additive<time_spec_t>, boost::totally_ordered<time_spec_t>{
public:
/*!
- * Get the system time in time_spec_t format.
- * Uses the highest precision clock available.
- * \return the system time as a time_spec_t
- */
- static time_spec_t get_system_time(void);
-
- /*!
* Copy constructor
*/
time_spec_t(const time_spec_t & spec);