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>

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. | |
Currently only port's connection modifications are signaled.
| DSC_Callbacks::DSC_Callbacks | ( | ) | [inline] |
| virtual DSC_Callbacks::~DSC_Callbacks | ( | ) | [inline, virtual] |
| 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.
| provides_port_name | the name of the provides name that has changed. |
| connection_nbr | the new number of connection on the provides port. |
| message | contains 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.
| uses_port_name | the name of the uses name that has changed. |
| new_uses_port | the new sequence representing the uses port. |
| message | contains informations about the modification of the port. |
Implemented in Superv_Component_i.