How can external software and hardware resources be accessed from an application built in Gedae?
Discussion It is often required that an application have access to hardware and software resources that are “given” to the application and not part of the application development. Examples of such resources are: • I/O Devices • A/D converters • Communication with a larger system not designed with Gedae • Databases • Shared Memory • Software Libraries Such resources typically have a software interface that allows access to the resource from a program. The question is how can such resources be integrated into a Gedae application. Solution There are two ways of interfacing external resources to a Gedae application: the interface can be encapsulated in a Gedae primitive, or the interface can be accessed from a Gedae command program. Interfacing at the primitive level is in some ways the simplest approach. Since primitives completely encapsulate the access to the resource all a developer needs to do – once the primitive is created – is add the primitive to the Gedae graph. Another advantage