36 typedef void (*NotifyProc)(
void* data,
IdType id);
48 : name(std::move(name))
49 , value(std::move(val))
54 return name == ps.
name;
80 pfEffectsParameter = 1 << 1,
82 pfEffectsResult = 1 << 2,
84 pfEffectsData = 1 << 3,
86 pfChannelSingle = 1 << 4,
102 pfWriteAtOff = 1 << 12,
113 rfAsyncIndex = 1 << 3,
149 Round.setType(Value::vitUndefined);
314 unsigned WordSize{0};
318 unsigned ArraySize{0};
350 void* Buffer{
nullptr};
358 size_t BlockBufSize{0};
400 apErrorMessage = 0x0004,
402 apAmplitudeUnit = 0x0005,
404 apUserFirst = 0x000F,
409 apChannel_Mask = 0x4000,
411 apChannel_RepRate = 0x4001,
413 apChannel_SyncMode = 0x4002,
415 apChannel_Gates = 0x4003,
417 apChannel_Inputs = 0x4004,
419 apChannel_TimeUnits = 0x4005,
421 apChannel_CopyDelay = 0x4006,
423 apChannel_CopyRange = 0x4007,
425 apChannel_SampleRate = 0x4008,
427 apChannel_CopyEnable = 0x4009,
432 apChannel_PopManual = 0x400A,
437 apChannel_BiDirMode = 0x400B,
439 apChannel_UserFirst = 0x401F,
444 apGate_Mask = 0x8000,
446 apGate_Name = 0x8001,
448 apGate_Delay = 0x8002,
450 apGate_Range = 0x8003,
452 apGate_SlaveTo = 0x8004,
454 apGate_Enable = 0x8005,
456 apGate_Method = 0x8006,
458 apGate_Threshold = 0x8007,
460 apGate_Amplitude = 0x8008,
462 apGate_TimeOfFlight = 0x8009,
464 apGate_UserFirst = 0x801F,
476 arUserFirst = 0x0001,
481 arChannel_Mask = 0x4000,
483 arChannel_PopIndex = 0x4001,
485 arChannel_CopyData = 0x4002,
487 arChannel_CopyIndex = 0x4003,
489 arChannel_UserFirst = 0x401F,
494 arGate_Amplitude = 0x8001,
495 arGate_TimeOfFlight = 0x8002,
496 arGate_Copy = 0x8003,
498 arGate_Mask = 0x8000,
500 arGate_UserFirst = 0x801F
Counted vector having additional methods and operators for ease of usage. This template class extends...
Definition TVector.h:20
Value container class able to performing arithmetic functions.
Definition Value.h:19
Definition Application.h:10
constexpr const char * US_METHOD_PEAK
Names used for method identification.
Definition RsaTypes.h:11
constexpr const char * US_METHOD_COPY
Method for generating sample copy results in array's of Amplitude values.
Definition RsaTypes.h:16
#define _RSA_CLASS
Definition rsa/iface/global.h:35
Definition RsaTypes.h:329
BufferInfo()=default
Initializing constructor.
void Clear()
Definition RsaTypes.h:338
Structure to hold parameter information.
Definition RsaTypes.h:122
ParamInfo(const ParamInfo &pi)
Definition RsaTypes.h:128
std::string Name
Definition RsaTypes.h:194
Value Minimum
Definition RsaTypes.h:214
ParamInfo & operator=(const ParamInfo &pi)
Definition RsaTypes.h:133
ParamInfo & Copy(const ParamInfo &pi)
Definition RsaTypes.h:156
int Flags
Definition RsaTypes.h:226
Value Maximum
Definition RsaTypes.h:218
Value Default
Definition RsaTypes.h:210
IdType Id
Definition RsaTypes.h:176
std::string Description
Definition RsaTypes.h:202
unsigned Index
Definition RsaTypes.h:185
std::string Unit
Definition RsaTypes.h:198
Value Round
Definition RsaTypes.h:206
void Init()
Definition RsaTypes.h:139
unsigned Channel
Definition RsaTypes.h:190
unsigned Gate
Definition RsaTypes.h:181
ParamInfo()
Definition RsaTypes.h:123
ParamStates States
Definition RsaTypes.h:222
Structure to hold a single state consisting of a name and value.
Definition RsaTypes.h:42
Value value
Holds the value of the state.
Definition RsaTypes.h:64
ParamState(std::string name, Value val)
Definition RsaTypes.h:47
ParamState(const ParamState &ps)=default
std::string name
Holds the name of the state.
Definition RsaTypes.h:60
bool operator==(const ParamState &ps) const
Definition RsaTypes.h:52
Definition RsaTypes.h:233
unsigned Channel
Holds the channel number of this parameter. When channel is UINT_MAX the param is not a gate related ...
Definition RsaTypes.h:298
std::string Name
Name of the parameter.
Definition RsaTypes.h:302
void reset()
Definition RsaTypes.h:236
unsigned Index
Param index in the hierarchy of the gate or non gate params.
Definition RsaTypes.h:293
IdType Id
Holds a unique id for the current situation.
Definition RsaTypes.h:280
int Flags
Flags.
Definition RsaTypes.h:284
std::string Description
Usage off the parameter of the parameter.
Definition RsaTypes.h:306
ResultInfo(const ResultInfo &pi)
Definition RsaTypes.h:251
int Offset
Level offset of the generated data.
Definition RsaTypes.h:322
ResultInfo & operator=(const ResultInfo &pi)
Definition RsaTypes.h:256
ResultInfo & Copy(const ResultInfo &pi)
Definition RsaTypes.h:262
unsigned Bits
Amount of Bits used to store the actual value.
Definition RsaTypes.h:310
unsigned WordSize
Amount of bytes 1, 2 or 4 (later 8) used for storing a single value.
Definition RsaTypes.h:314
unsigned Gate
Holds the gate number this gate belongs to. When gate is UINT_MAX the param is not a gate related par...
Definition RsaTypes.h:289
unsigned ArraySize
Amount of values in an array for an arrayed value.
Definition RsaTypes.h:318
Type holding all types for the RsaInterface in a single namespaced structure.
Definition RsaTypes.h:22
EDefaultResult
Definition RsaTypes.h:472
TVector< ParamState > ParamStates
Vector to specify states.
Definition RsaTypes.h:70
TVector< IdType > IdList
Type for gathering parameter ID's.
Definition RsaTypes.h:31
EDefaultParam
Definition RsaTypes.h:385
EResultFlag
Result flags for defining result behaviour.
Definition RsaTypes.h:109
unsigned long long IdType
Type for gathering parameter ID's.
Definition RsaTypes.h:26
EAcquisitionType
Definition RsaTypes.h:373
@ atUltrasonic
Definition RsaTypes.h:375
EPopManual
Enumerate for the pop manual function.
Definition RsaTypes.h:507
@ pmReady
Definition RsaTypes.h:511
EParamFlag
Parameter flags for defining parameter behaviour.
Definition RsaTypes.h:76