Re: Bad news, many errors on linux

Jorrit Tyberghein <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <CAA49VVLMhwfF-2EeAaodHv3c6NiMoUgA6H_A9qp1jaEgYDWvQg@mail.gmail.com>
Sounds weird to use the CS event system for this? I think the CS event
system is meant more
for device input. Not for plugin communication. For plugin communication we
generally use
systems like listeners and callbacks.

Why should this be done with the event system?

Please don't abuse events for something that they are not made for.

Greetings,

On Fri, Jun 29, 2012 at 12:16 PM, Christian Van Brussel <
[email protected]> wrote:

> > How should I implement events?
>
> You have to create a iEvent then send it to the iEventQueue (accessed from
> the object registry).
>
> If your event has several parameters, then you can consider adding some
> dedicated class to help dealing with it (see eg csMouseEventData and
> csMouseEventHelper).
>
> > We need at least some events for portal traversal.
>
> Yes, and ideally also all other listeners/callbacks that are in the
> current physics2 API should be removed too, and replaced by events.
>
>
>


-- 
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
Personal page: http://users.telenet.be/jorritTyberghein/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.