Version: 8.3.0
DSC_Callbacks Class Referenceabstract

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:

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. More...
 
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. More...
 

Detailed Description

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.

Currently only port's connection modifications are signaled.

Constructor & Destructor Documentation

DSC_Callbacks::DSC_Callbacks ( )
virtual DSC_Callbacks::~DSC_Callbacks ( )
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 method is used by the component when the number of connection on a provides port changes.

  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 method is used by the component when the number of connection on a uses port changes.

  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.