![]() |
ChimeraTK-ApplicationCore 04.06.00
|
Base class for several implementations which distribute values from one feeder to multiple consumers. More...
#include <FanOut.h>
Inheritance diagram for ChimeraTK::FanOut< UserType >:
Collaboration diagram for ChimeraTK::FanOut< UserType >:Public Member Functions | |
| FanOut (boost::shared_ptr< ChimeraTK::NDRegisterAccessor< UserType > > feedingImpl) | |
| virtual void | addSlave (boost::shared_ptr< ChimeraTK::NDRegisterAccessor< UserType > > slave, VariableNetworkNode &) |
| Add a slave to the FanOut. | |
| void | removeSlave (const boost::shared_ptr< ChimeraTK::TransferElement > &slave) override |
| virtual void | interrupt () |
Public Member Functions inherited from ChimeraTK::FanOutBase | |
| virtual | ~FanOutBase ()=default |
| void | disable () |
| Disable the FanOut so it does nothing. | |
Protected Attributes | |
| boost::shared_ptr< ChimeraTK::NDRegisterAccessor< UserType > > | _impl |
| std::list< boost::shared_ptr< ChimeraTK::NDRegisterAccessor< UserType > > > | _slaves |
Protected Attributes inherited from ChimeraTK::FanOutBase | |
| bool | _disabled {false} |
Base class for several implementations which distribute values from one feeder to multiple consumers.
|
inlineexplicit |
|
virtual |
Add a slave to the FanOut.
Only sending end-points of a consuming node may be added.
Reimplemented in ChimeraTK::FeedingFanOut< UserType >, and ChimeraTK::ThreadedFanOutWithReturn< UserType >.
|
virtual |
Reimplemented in ChimeraTK::ConsumingFanOut< UserType >, and ChimeraTK::FeedingFanOut< UserType >.
|
overridevirtual |
Implements ChimeraTK::FanOutBase.
|
protected |
|
protected |