Isomet Modular Synthesiser (iMS) API  v1.4.2
iMS API
Public Attributes | Friends | List of all members
iMS::FWVersion Struct Reference

Stores the version number of firmware running on iMS hardware. More...

#include <include/IMSSystem.h>

Public Attributes

int major { -1 }
 returns the Major firmware version number (or -1 if uninitialised)
 
int minor { 0 }
 returns the Minor firmware version number
 
int revision { 0 }
 returns the firmware revision number
 
struct std::tm build_date
 returns a struct indicating the date on which the firmware was created
 

Friends

LIBSPEC std::ostream & operator<< (std::ostream &stream, const FWVersion &)
 Use this operator overload to output to a console the firmware version in human-readable format. More...
 

Detailed Description

Stores the version number of firmware running on iMS hardware.

Firmware version is always defined as 'M.m.r' where: M = Major Version m = Minor Version r = Revision

Revision increments continuously for each build of firmware that is created. Major and Minor tags are only updated to mark an important release.

Author
Dave Cowan
Date
2015-11-03
Since
1.0

Friends And Related Function Documentation

LIBSPEC std::ostream& operator<< ( std::ostream &  stream,
const FWVersion  
)
friend

Use this operator overload to output to a console the firmware version in human-readable format.

For example:

std::cout << " FW Version: " << myiMS.Ctlr().GetVersion() << std::endl;

might print:

FW Version: 1.0.23 Wed 23 September 2015 11:08 GMT

The documentation for this struct was generated from the following file: