20000730_CLINIC_NMRA-00 Computer Interface App.pdf
20000730_CLINIC_NMRA-00 Computer Interface App.pdf
20000730_CLINIC_NMRA-00 Computer Interface App.pdf
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
KAM * API Architecture<br />
• API is a combination of a property/method<br />
model; with an execution framework<br />
– Objects are not passed in the API; states are passed<br />
– The state model reduces overhead on clients and improves<br />
the ability to port the API to different architecture<br />
(marshalling is expensive in software)<br />
– States are set; and execution is passed<br />
Train<br />
» DccEngSetFunction(…..)<br />
Set something(,,)<br />
» DccEngGetSpeed(…)<br />
» DccCommand(ObjectId)<br />
Get something(,,)<br />
• The API was designed to support prototype<br />
and non prototype operations<br />
Matt Katzer<br />
San Jose, Calif.<br />
<strong>NMRA</strong> 2<strong>00</strong>0<br />
Copyright 2<strong>00</strong>0 KAM Industries<br />
all rights reserved.<br />
*KAM Industries is a division of<br />
KAMIND Associates, Inc.<br />
Page 18<br />
KAM<br />
TM