| Computers Forum Index » Computer - Object » Implement Signal/Slot pattern in C... |
|
Page 1 of 1 |
|
| Author |
Message |
| Steven Woody... |
Posted: Sat Oct 24, 2009 12:51 am |
|
|
|
Guest
|
Hi,
Is there possible to implement Signal/Slot pattern in C? I am
currently doing with an embedded project that use C only.
-
narke |
|
|
| Back to top |
|
|
|
| johnzabroski at (no spam) gmail.com... |
Posted: Sat Oct 24, 2009 1:13 am |
|
|
|
Guest
|
On Oct 23, 8:51 pm, Steven Woody <narkewo... at (no spam) gmail.com> wrote:
Quote: Hi,
Is there possible to implement Signal/Slot pattern in C? I am
currently doing with an embedded project that use C only.
-
narke
You would have to use the C preprocessor.
See Miro Samek's book Practical Statecharts in C/C++ for tips on doing
OO in C. |
|
|
| Back to top |
|
|
|
| Steven Woody... |
Posted: Sun Oct 25, 2009 3:29 am |
|
|
|
Guest
|
On Oct 24, 9:13 am, "johnzabro... at (no spam) gmail.com" <johnzabro... at (no spam) gmail.com>
wrote:
Quote: On Oct 23, 8:51 pm, Steven Woody <narkewo... at (no spam) gmail.com> wrote:
Hi,
Is there possible to implement Signal/Slot pattern in C? I am
currently doing with an embedded project that use C only.
-
narke
You would have to use the C preprocessor.
Is it a standalone tool? Instead of a part of compiler itself?
Quote:
See Miro Samek's book Practical Statecharts in C/C++ for tips on doing
Okay, I will find it and read some.
> OO in C. |
|
|
| Back to top |
|
|
|
| johnzabroski at (no spam) gmail.com... |
Posted: Fri Nov 20, 2009 10:14 pm |
|
|
|
Guest
|
On Oct 24, 10:29 pm, Steven Woody <narkewo... at (no spam) gmail.com> wrote:
Quote: On Oct 24, 9:13 am, "johnzabro... at (no spam) gmail.com" <johnzabro... at (no spam) gmail.com
wrote:
On Oct 23, 8:51 pm, Steven Woody <narkewo... at (no spam) gmail.com> wrote:
Hi,
Is there possible to implement Signal/Slot pattern in C? I am
currently doing with an embedded project that use C only.
-
narke
You would have to use the C preprocessor.
Is it a standalone tool? Instead of a part of compiler itself?
See Miro Samek's book Practical Statecharts in C/C++ for tips on doing
Okay, I will find it and read some.
OO in C.
It seems you are tripped up by not knowing what the C preprocessor
is. If you do not know this, then you likely do not know C. It is
possible that your C compiler may not offer the C preprocessor,
either, if it is for an embedded device. |
|
|
| Back to top |
|
|
|
|