develop-04 9010 October 1990
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
PDF page 12
/* We keep an array of applications that can register with the * driver. I’ve arbitrarily set this at 16. We also keep an array * of TMessage pointers to be passed around. This is also arbitrarily * set at 16. In the future, I’d probably implement this as a list of * messages. */ char fAppNameArray[kMaxApps] [255]; TMessPtr fMessageArray[kMaxMessages]; }; from TMessage.h class TMessage { public: /* Constructor and destructor. Constructor will build the message * with the appropriate data members passed in. */ TMessage(char *message, short senderSig, short receiverSig); ~TMessage(); /* Two Boolean functions that simply query the message to see * if the message is destined for the signature of the * Requestor. Nice example of function overloadingin the * one case I just wanted to return true or false; in the other * case I wanted to return who the message was from and the actual * message string. This is also nice because we have only one * public member function returning any private information. */ Boolean IsMessageForMe(short sigOfRequestor); Boolean IsMessageForMe(short sigOfRequestor, short *senderSig, char *messageString); private: /* GetSenderSig returns fSenderSig. * SetSenderSig sets fSenderSig to signature. */ short GetSenderSig(); void SetSenderSig(short signature); /* GetReceiverSig returns fReceiverSig. * SetReceiverSig sets fReceiverSig to signature. */ short GetReceiverSig(); void SetReceiverSig(short signature); /* GetMessageString returns fMessageString. * SetMessageString sets fMessageString to msgString. */ char *GetMessageString(); void SetMessageString(char *msgString); d e v e l o p October 1990 382
Reading notes: Source text is a C/C++ code excerpt from a developer publication; no advertised products or prices are present. Page number '382' and issue label 'develop October 1990' appear at the end of the excerpt.
- Printed dates
- October 1990
- Languages
- English