73 #ifndef IMS_FILESYSTEM_H__
74 #define IMS_FILESYSTEM_H__
83 #if defined _WIN32 || defined __CYGWIN__
85 #define DLL_EXPORT __attribute__ ((dllexport))
86 #define DLL_IMPORT __attribute__ ((dllimport))
88 #define DLL_EXPORT __declspec(dllexport) // Note: actually gcc seems to also supports this syntax.
89 #define DLL_IMPORT __declspec(dllimport) // Note: actually gcc seems to also supports this syntax.
94 #define DLL_EXPORT __attribute__ ((visibility ("default")))
95 #define DLL_IMPORT __attribute__ ((visibility ("default")))
96 #define DLL_LOCAL __attribute__ ((visibility ("hidden")))
104 #if defined(_EXPORTING_IMS)
105 #define LIBSPEC DLL_EXPORT
106 #define LIBLOCAL DLL_LOCAL
107 #define EXPIMP_TEMPLATE
108 #elif defined(_STATIC_IMS)
111 #define EXPIMP_TEMPLATE
113 #define LIBSPEC DLL_IMPORT
114 #define LIBLOCAL DLL_LOCAL
115 #define EXPIMP_TEMPLATE extern
190 ~FileSystemTableEntry();
192 FileSystemTableEntry(
const FileSystemTableEntry &);
194 FileSystemTableEntry &operator =(
const FileSystemTableEntry &);
202 const std::uint32_t Address()
const;
204 const std::uint32_t Length()
const;
206 const bool IsDefault()
const;
208 const std::string Name()
const;
249 const bool IsValid()
const;
261 const int Entries()
const;
365 bool Delete(
const std::string& FileName);
383 bool SetDefault(
const std::string& FileName);
395 bool ClearDefault(
const std::string& FileName);
410 bool FindSpace(std::uint32_t& addr,
const std::vector<std::uint8_t>& data)
const;
436 bool Execute(
const std::string& FileName);
488 bool Readback(std::vector<std::uint8_t>& data);
571 #undef EXPIMP_TEMPLATE
Provides a mechanism for viewing the FileSystemTable associated with an iMS System.
Definition: FileSystem.h:226
File contains ToneBuffer data.
FileSystemTypes
All of the different (up to 15) types of file available to the filesystem.
Definition: FileSystem.h:124
FileDefault
Default flag tags a file entry for execution at startup (only one per filetype)
Definition: FileSystem.h:141
Non-default is the normal state for most files.
Contains all the parameters that uniquely locate a File within the Synthesiser FileSystem.
Definition: FileSystem.h:165
Interface Class for User Application code to receive and process events from the iMS library...
Provides user management operations for working with Synthesiser FileSystems.
Definition: FileSystem.h:323
An object representing the overall configuration of an attached iMS System and permits applications t...
Definition: IMSSystem.h:361
Default indicates the Synthesiser should attempt to execute that file during its startup procedure...
int FileSystemIndex
FileSystemIndex represents the entry number for a particular file in the FileSystemTable.
Definition: FileSystem.h:150
File contains user data for application use.
The entire API is encapsulated by the iMS namespace.
Definition: Auxiliary.h:95
Classes within this group are used to store information about an iMS System and to Connect / Disconne...
Provides a mechanism for retrieving User File data from the Synthesiser FileSystem.
Definition: FileSystem.h:454
const unsigned int MAX_FST_ENTRIES
Maximum number of entries that may be stored in the FileSystem.
Definition: FileSystem.h:218
File contains a DDS Script for manual programming of the DDS.
File contains Compensation table data.
Provides a mechanism for committing User File data to the Synthesiser FileSystem. ...
Definition: FileSystem.h:512
No file stored at this FileSystemTable entry.