46 #ifndef IMS_AUXILIARY_H__
47 #define IMS_AUXILIARY_H__
55 #include <initializer_list>
59 #if defined _WIN32 || defined __CYGWIN__
61 #define DLL_EXPORT __attribute__ ((dllexport))
62 #define DLL_IMPORT __attribute__ ((dllimport))
64 #define DLL_EXPORT __declspec(dllexport) // Note: actually gcc seems to also supports this syntax.
65 #define DLL_IMPORT __declspec(dllimport) // Note: actually gcc seems to also supports this syntax.
70 #define DLL_EXPORT __attribute__ ((visibility ("default")))
71 #define DLL_IMPORT __attribute__ ((visibility ("default")))
72 #define DLL_LOCAL __attribute__ ((visibility ("hidden")))
80 #if defined(_EXPORTING_IMS)
81 #define LIBSPEC DLL_EXPORT
82 #define LIBLOCAL DLL_LOCAL
83 #define EXPIMP_TEMPLATE
84 #elif defined(_STATIC_IMS)
87 #define EXPIMP_TEMPLATE
89 #define LIBSPEC DLL_IMPORT
90 #define LIBLOCAL DLL_LOCAL
91 #define EXPIMP_TEMPLATE extern
225 bool AssignLED(
const LED_SINK& sink,
const LED_SOURCE& src)
const;
237 bool SetDDSProfile(
const DDS_PROFILE& prfl)
const;
250 bool SetDDSProfile(
const DDS_PROFILE& prfl,
const std::uint16_t& select)
const;
255 bool UpdateAnalogIn();
272 const std::map<EXT_ANLG_INPUT, Percent>& GetAnalogData()
const;
279 bool UpdateAnalogOut(
Percent& pct)
const;
284 void AuxiliaryEventSubscribe(
const int message,
IEventHandler* handler);
308 void AuxiliaryEventUnsubscribe(
const int message,
const IEventHandler* handler);
445 int append(
const std::uint8_t&);
449 std::vector<std::uint8_t> bytes()
const;
508 #undef EXPIMP_TEMPLATE
Provides auxiliary additional functions not directly related to Synthesiser operation.
Definition: Auxiliary.h:126
Classes for reading, writing and managing the file system built into an iMS Synthesiser.
Provides a mechanism for transferring DDS Scripts into Filesystem memory.
Definition: Auxiliary.h:476
FileDefault
Default flag tags a file entry for execution at startup (only one per filetype)
Definition: FileSystem.h:141
Events
List of Events raised by the Auxiliary module.
Definition: Auxiliary.h:110
Non-default is the normal state for most files.
Interface Class for User Application code to receive and process events from the iMS library...
LED_SINK
Which LED to assign function to.
Definition: Auxiliary.h:189
std::vector< DDSScriptRegister > DDSScript
DDSScript stores the sequence of register writes to be loaded onto the Synthesiser. Can be manipulated using the normal container operations provided by std::vector
Definition: Auxiliary.h:459
DDS_PROFILE
Control Source for Profile input to DDS Synthesiser IC.
Definition: Auxiliary.h:202
LED_SOURCE
Selects the function to be assigned to an LED.
Definition: Auxiliary.h:154
An object representing the overall configuration of an attached iMS System and permits applications t...
Definition: IMSSystem.h:361
Previous Analog Input Update request completed; data available to be read.
Definition: Auxiliary.h:112
Create a register write to send to the DDS IC.
Definition: Auxiliary.h:351
EXT_ANLG_INPUT
Reference enum for addressing both analog inputs.
Definition: Auxiliary.h:215
int FileSystemIndex
FileSystemIndex represents the entry number for a particular file in the FileSystemTable.
Definition: FileSystem.h:150
All the different types of events that can be triggered by the Auxiliary class.
Definition: Auxiliary.h:106
The entire API is encapsulated by the iMS namespace.
Definition: Auxiliary.h:95
Type Definition for all operations that require a percentage specification.
Definition: IMSTypeDefs.h:241
Classes within this group are used to store information about an iMS System and to Connect / Disconne...
Previous Analog Input Update request completed; request failed.
Definition: Auxiliary.h:114
Interface Class for an Event Handler to be defined in User Code and subscribed to library events...
Definition: IEventHandler.h:146
Name
the abbreviated register name for each register accessible in the DDS IC
Definition: Auxiliary.h:357