MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
ichannel.h File Reference

The define an interface against a channel block (CN).

#include <cstring>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>
#include "mdf/iblock.h"
#include "mdf/ichannelconversion.h"
#include "mdf/imetadata.h"
#include "mdf/isourceinformation.h"
#include "mdf/ichannelarray.h"
#include "mdf/mdfhelper.h"
#include "mdf/iattachment.h"
Include dependency graph for ichannel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mdf::IChannel
 Defines a MDF channel (CN) block. More...
 

Namespaces

namespace  mdf
 Main namespace for the MDF library.
 
namespace  mdf::CnFlag
 Channel flags. See also IChannel::Flags().
 

Enumerations

enum class  mdf::ChannelType : uint8_t {
  mdf::FixedLength = 0 , mdf::VariableLength = 1 , mdf::Master = 2 , mdf::VirtualMaster = 3 ,
  mdf::Sync = 4 , mdf::MaxLength = 5 , mdf::VirtualData = 6
}
 Channel functional type. More...
 
enum class  mdf::ChannelSyncType : uint8_t {
  mdf::None = 0 , mdf::Time = 1 , mdf::Angle = 2 , mdf::Distance = 3 ,
  mdf::Index = 4
}
 Synchronization type. More...
 
enum class  mdf::ChannelDataType : uint8_t {
  mdf::UnsignedIntegerLe = 0 , mdf::UnsignedIntegerBe = 1 , mdf::SignedIntegerLe = 2 , mdf::SignedIntegerBe = 3 ,
  mdf::FloatLe = 4 , mdf::FloatBe = 5 , mdf::StringAscii = 6 , mdf::StringUTF8 = 7 ,
  mdf::StringUTF16Le = 8 , mdf::StringUTF16Be = 9 , mdf::ByteArray = 10 , mdf::MimeSample = 11 ,
  mdf::MimeStream = 12 , mdf::CanOpenDate = 13 , mdf::CanOpenTime = 14 , mdf::ComplexLe = 15 ,
  mdf::ComplexBe = 16
}
 Channel data type. More...
 

Variables

constexpr uint32_t mdf::CnFlag::AllValuesInvalid = 0x0001
 All values are invalid.
 
constexpr uint32_t mdf::CnFlag::InvalidValid = 0x0002
 Invalid bit is used.
 
constexpr uint32_t mdf::CnFlag::PrecisionValid = 0x0004
 Precision is used.
 
constexpr uint32_t mdf::CnFlag::RangeValid = 0x0008
 Range is used.
 
constexpr uint32_t mdf::CnFlag::LimitValid = 0x0010
 Limit is used.
 
constexpr uint32_t mdf::CnFlag::ExtendedLimitValid = 0x0020
 Extended limit is used.
 
constexpr uint32_t mdf::CnFlag::Discrete = 0x0040
 Discrete channel.
 
constexpr uint32_t mdf::CnFlag::Calibration = 0x0080
 Calibrated channel.
 
constexpr uint32_t mdf::CnFlag::Calculated = 0x0100
 Calculated channel.
 
constexpr uint32_t mdf::CnFlag::Virtual = 0x0200
 Virtual channel.
 
constexpr uint32_t mdf::CnFlag::BusEvent = 0x0400
 Bus event channel.
 
constexpr uint32_t mdf::CnFlag::StrictlyMonotonous = 0x0800
 Strict monotonously.
 
constexpr uint32_t mdf::CnFlag::DefaultX = 0x1000
 Default x-axis channel.
 
constexpr uint32_t mdf::CnFlag::EventSignal = 0x2000
 Event signal.
 
constexpr uint32_t mdf::CnFlag::VlsdDataStream = 0x4000
 VLSD data stream channel.