Version: 6.3.1
Public Member Functions

DSC_Callbacks Class Reference

This is an abstract class that defines methods that the component uses to notify the component user code that the state of the component has changed. More...

#include <DSC_Callbacks.hxx>

Inheritance diagram for DSC_Callbacks:
Inheritance graph

Public Member Functions

 DSC_Callbacks ()
virtual ~DSC_Callbacks ()
virtual void provides_port_changed (const char *provides_port_name, int connection_nbr, const Engines::DSC::Message message)=0
 This method is used by the component when the number of connection on a provides port changes.
virtual void uses_port_changed (const char *uses_port_name, Engines::DSC::uses_port *new_uses_port, const Engines::DSC::Message message)=0
 This method is used by the component when the number of connection on a uses port changes.

Detailed Description

Currently only port's connection modifications are signaled.


Constructor & Destructor Documentation

DSC_Callbacks::DSC_Callbacks ( ) [inline]
virtual DSC_Callbacks::~DSC_Callbacks ( ) [inline, virtual]

Member Function Documentation

virtual void DSC_Callbacks::provides_port_changed ( const char provides_port_name,
int  connection_nbr,
const Engines::DSC::Message  message 
) [pure virtual]

This information helps the user code to detect operation on its ports.

Parameters:
provides_port_namethe name of the provides name that has changed.
connection_nbrthe new number of connection on the provides port.
messagecontains informations about the modification of the port.

Implemented in Superv_Component_i.

virtual void DSC_Callbacks::uses_port_changed ( const char uses_port_name,
Engines::DSC::uses_port *  new_uses_port,
const Engines::DSC::Message  message 
) [pure virtual]

This information helps the user code to detect operation on its ports.

Parameters:
uses_port_namethe name of the uses name that has changed.
new_uses_portthe new sequence representing the uses port.
messagecontains informations about the modification of the port.

Implemented in Superv_Component_i.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS