Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: flyingrobots on August 26, 2002, 11:12:03 am

Title: C++ typedef
Post by: flyingrobots on August 26, 2002, 11:12:03 am
Hi,

I am working on making a model of a subsystem that I will soon be coding.  One of the datatypes that I am using for parameters to various members is a function pointer:

int (*ipc_msg_handler)(int rcvid, ipc_msg &msg)

Instead of using this wordy datatype everywhere, I'd like to use "ipc_msg_handler".  How do I model this?  Do I create a new datatype for C++, or do I create a stereotyped class?

Thanks
Kevin