Book a Demo

Author Topic: Semantic of classes as lifelines?  (Read 2839 times)

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Semantic of classes as lifelines?
« on: October 25, 2007, 12:59:14 am »
Hi,

I was wondering what the semantic of using a class vs. object as a lifeline is, as allowed by EA.

Does it mean by default "some instance of this class"?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Semantic of classes as lifelines?
« Reply #1 on: October 25, 2007, 03:02:01 am »
Or perhaps "class-level operations of this class." In which case you probably don't want to invoke a destructor.
No, you can't have it!

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: Semantic of classes as lifelines?
« Reply #2 on: October 28, 2007, 09:15:56 am »
Quote
Or perhaps "class-level operations of this class." In which case you probably don't want to invoke a destructor.


It makes sense. Thanks.

If anyone has any reference about this...