OMK::Vis::VisServiceExtension Class Reference

Visu Message Service. More...

#include <OMKVisServiceExtension.h>

Inheritance diagram for OMK::Vis::VisServiceExtension:

Inheritance graph
[legend]
Collaboration diagram for OMK::Vis::VisServiceExtension:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

virtual bool handleVisuInfoEvent (Event *event)
 CallBack for VISU_INFO_EVENT_ID.

Protected Attributes

EventListener_eventVisuInfo

Private Member Functions

 DECLARE_EXTENSION_FACTORY (VisServiceExtension)
 Factory and constructor/destructor.

Static Private Attributes

static const EventIdentifier VISU_INFO_EVENT_ID

Friends

class VisBase

Detailed Description

Visu Message Service.

Date:
2007-09-13
Author:
Xavier Larrodé
This extension is automatically load by the Visu

Definition at line 25 of file OMKVisServiceExtension.h.


Member Function Documentation

OMK::Vis::VisServiceExtension::DECLARE_EXTENSION_FACTORY ( VisServiceExtension   )  [private]

Factory and constructor/destructor.

See Extension feature

bool VisServiceExtension::handleVisuInfoEvent ( Event event  )  [protected, virtual]

CallBack for VISU_INFO_EVENT_ID.

Definition at line 34 of file OMKVisServiceExtension.cpp.

References OMK::ExtensionT< SimulatedObjectType >::_owner, OMK::Event::sender, and VISU_INFO_EVENT_ID.

00035 {
00036   // Send NAME + Process
00037   _owner->sendValuedEvent( event->sender, VISU_INFO_EVENT_ID,
00038        VisuInfoType( VisuInfoPrm( _owner->getName(), 
00039                                   _owner->getObjectDescriptor().getProcess() ) ) );
00040  
00041   return true;
00042 }


Friends And Related Function Documentation

friend class VisBase [friend]

Definition at line 28 of file OMKVisServiceExtension.h.


Member Data Documentation

const EventIdentifier VisServiceExtension::VISU_INFO_EVENT_ID [static, private]

Definition at line 33 of file OMKVisServiceExtension.h.

Referenced by handleVisuInfoEvent().

EventListener* OMK::Vis::VisServiceExtension::_eventVisuInfo [protected]

Definition at line 37 of file OMKVisServiceExtension.h.


logo OpenMask

Documentation generated on Mon Jun 9 11:46:05 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007