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,
112 rfAsyncIndex = 1 << 3,
148 Round.setType(Value::vitUndefined);
313 unsigned WordSize{0};
317 unsigned ArraySize{0};
349 void* Buffer{
nullptr};
357 size_t BlockBufSize{0};
399 apErrorMessage = 0x0004,
401 apAmplitudeUnit = 0x0005,
403 apUserFirst = 0x000F,
408 apChannel_Mask = 0x4000,
410 apChannel_RepRate = 0x4001,
412 apChannel_SyncMode = 0x4002,
414 apChannel_Gates = 0x4003,
416 apChannel_Inputs = 0x4004,
418 apChannel_TimeUnits = 0x4005,
420 apChannel_CopyDelay = 0x4006,
422 apChannel_CopyRange = 0x4007,
424 apChannel_SampleRate = 0x4008,
426 apChannel_CopyEnable = 0x4009,
431 apChannel_PopManual = 0x400A,
436 apChannel_BiDirMode = 0x400B,
438 apChannel_UserFirst = 0x401F,
443 apGate_Mask = 0x8000,
445 apGate_Name = 0x8001,
447 apGate_Delay = 0x8002,
449 apGate_Range = 0x8003,
451 apGate_SlaveTo = 0x8004,
453 apGate_Enable = 0x8005,
455 apGate_Method = 0x8006,
457 apGate_Threshold = 0x8007,
459 apGate_Amplitude = 0x8008,
461 apGate_TimeOfFlight = 0x8009,
463 apGate_UserFirst = 0x801F,
475 arUserFirst = 0x0001,
480 arChannel_Mask = 0x4000,
482 arChannel_PopIndex = 0x4001,
484 arChannel_CopyData = 0x4002,
486 arChannel_CopyIndex = 0x4003,
488 arChannel_UserFirst = 0x401F,
493 arGate_Amplitude = 0x8001,
494 arGate_TimeOfFlight = 0x8002,
495 arGate_Copy = 0x8003,
497 arGate_Mask = 0x8000,
499 arGate_UserFirst = 0x801F
Counted vector having additional methods and operators for ease of usage.
Definition TVector.h:25
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:328
BufferInfo()=default
Initializing constructor.
void Clear()
Definition RsaTypes.h:337
Structure to hold parameter information.
Definition RsaTypes.h:121
ParamInfo(const ParamInfo &pi)
Definition RsaTypes.h:127
std::string Name
Definition RsaTypes.h:193
Value Minimum
Definition RsaTypes.h:213
ParamInfo & operator=(const ParamInfo &pi)
Definition RsaTypes.h:132
ParamInfo & Copy(const ParamInfo &pi)
Definition RsaTypes.h:155
int Flags
Definition RsaTypes.h:225
Value Maximum
Definition RsaTypes.h:217
Value Default
Definition RsaTypes.h:209
IdType Id
Definition RsaTypes.h:175
std::string Description
Definition RsaTypes.h:201
unsigned Index
Definition RsaTypes.h:184
std::string Unit
Definition RsaTypes.h:197
Value Round
Definition RsaTypes.h:205
void Init()
Definition RsaTypes.h:138
unsigned Channel
Definition RsaTypes.h:189
unsigned Gate
Definition RsaTypes.h:180
ParamInfo()
Definition RsaTypes.h:122
ParamStates States
Definition RsaTypes.h:221
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:232
unsigned Channel
Holds the channel number of this parameter. When channel is UINT_MAX the param is not a gate related ...
Definition RsaTypes.h:297
std::string Name
Name of the parameter.
Definition RsaTypes.h:301
void reset()
Definition RsaTypes.h:235
unsigned Index
Param index in the hierarchy of the gate or non gate params.
Definition RsaTypes.h:292
IdType Id
Holds a unique id for the current situation.
Definition RsaTypes.h:279
int Flags
Flags.
Definition RsaTypes.h:283
std::string Description
Usage off the parameter of the parameter.
Definition RsaTypes.h:305
ResultInfo(const ResultInfo &pi)
Definition RsaTypes.h:250
int Offset
Level offset of the generated data.
Definition RsaTypes.h:321
ResultInfo & operator=(const ResultInfo &pi)
Definition RsaTypes.h:255
ResultInfo & Copy(const ResultInfo &pi)
Definition RsaTypes.h:261
unsigned Bits
Amount of Bits used to store the actual value.
Definition RsaTypes.h:309
unsigned WordSize
Amount of bytes 1, 2 or 4 (later 8) used for storing a single value.
Definition RsaTypes.h:313
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:288
unsigned ArraySize
Amount of values in an array for an arrayed value.
Definition RsaTypes.h:317
Type holding all types for the RsaInterface in a single namespaced structure.
Definition RsaTypes.h:22
EDefaultResult
Definition RsaTypes.h:471
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:384
EResultFlag
Result flags for defining result behaviour.
Definition RsaTypes.h:108
unsigned long long IdType
Type for gathering parameter ID's.
Definition RsaTypes.h:26
EAcquisitionType
Definition RsaTypes.h:372
@ atUltrasonic
Definition RsaTypes.h:374
EPopManual
Enumerate for the pop manual function.
Definition RsaTypes.h:506
@ pmReady
Definition RsaTypes.h:510
EParamFlag
Parameter flags for defining parameter behaviour.
Definition RsaTypes.h:76