SignalLogger
A library for signal logging.
typedefs.hpp File Reference
#include "signal_logger_core/signal_logger_traits.hpp"
#include <unordered_set>
Include dependency graph for typedefs.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  signal_logger::LogElementBase< ValueType_ >
 Forward declaration of LogElementBase. More...
 
struct  signal_logger::both_slashes
 Helper for subclass add functions. More...
 
struct  signal_logger::EnumClassHash
 Enum class hash. More...
 

Namespaces

 signal_logger
 

Typedefs

using signal_logger::TimeElement = LogElementBase< TimestampPair >
 
template<typename T >
using signal_logger::vector_type = typename std::conditional< traits::is_eigen_matrix< T >::value, std::vector< T, Eigen::aligned_allocator< T > >, std::vector< T > >::type
 Vector type. More...
 
using signal_logger::LogFileTypeSet = std::unordered_set< LogFileType, EnumClassHash >
 

Enumerations

enum  signal_logger::BufferType : unsigned int { signal_logger::BufferType::FIXED_SIZE = 0, signal_logger::BufferType::LOOPING = 1, signal_logger::BufferType::EXPONENTIALLY_GROWING = 2 }
 Enum containing possible buffer types. More...
 
enum  signal_logger::LogElementAction : unsigned int { signal_logger::LogElementAction::SAVE_AND_PUBLISH = 0, signal_logger::LogElementAction::SAVE = 1, signal_logger::LogElementAction::PUBLISH = 2 }
 Enum containing possible logging actions. More...
 
enum  signal_logger::LogFileType : unsigned int { signal_logger::LogFileType::BINARY = 0, signal_logger::LogFileType::CSV = 1, signal_logger::LogFileType::BAG = 2 }
 Enum containing possible log file types. More...
 

Variables

static constexpr const char * signal_logger::LOG_ELEMENT_DEFAULT_GROUP_NAME = "/log/"
 Default log element group. More...
 
static constexpr const char * signal_logger::LOG_ELEMENT_DEFAULT_UNIT = "-"
 Default log element unit. More...
 
static constexpr std::size_t signal_logger::LOG_ELEMENT_DEFAULT_DIVIDER = 1
 Default log element divider. More...
 
static constexpr LogElementAction signal_logger::LOG_ELEMENT_DEFAULT_ACTION = LogElementAction::SAVE_AND_PUBLISH
 Default log element action. More...
 
static constexpr std::size_t signal_logger::LOG_ELEMENT_DEFAULT_BUFFER_SIZE = 1000
 Default log element buffer size. More...
 
static constexpr BufferType signal_logger::LOG_ELEMENT_DEFAULT_BUFFER_TYPE = BufferType::LOOPING
 Default log element buffer type. More...
 
static constexpr const double signal_logger::LOGGER_DEFAULT_MAXIMUM_LOG_TIME = 10.0
 Default maximal logging time. More...
 
static constexpr const char * signal_logger::LOGGER_DEFAULT_SCRIPT_FILENAME = "logger.yaml"
 Default logging script file name. More...
 
static constexpr const char * signal_logger::LOGGER_DEFAULT_PREFIX = "/log"
 Default logger prefix. More...
 
static constexpr const char * signal_logger::LOGGER_DEFAULT_NAME = "silo"
 Default logger name. More...
 
static constexpr const double signal_logger::LOGGER_EXP_GROWING_MAXIMUM_LOG_TIME = 10.0
 Default log time for exponentially growing time buffer. More...
 

Detailed Description

Author
Gabriel Hottiger
Date
Jan 30, 2017