|
roviz
0.7
Code Documentation of roviz
|
Private part of the Ouput class. More...
#include <output_p.h>

Public Types | |
| typedef std::list< std::function< void(StreamObject)> >::const_iterator | Connection |
Public Member Functions | |
| Connection | connect (InputPrivate *in, std::function< void(StreamObject)> fn) |
| Connects an input to this output. More... | |
| void | disconnect (InputPrivate *in, Connection conn) |
| Disconnet an input from this output. More... | |
Public Attributes | |
| std::list< std::function< void(StreamObject)> > | pushInFuncs |
| std::list< InputPrivate * > | connected_inputs |
Private part of the Ouput class.
This class is also used by the connection mechanism to connect to inputs.
| OutputPrivate::Connection OutputPrivate::connect | ( | InputPrivate * | in, |
| std::function< void(StreamObject)> | fn | ||
| ) |
Connects an input to this output.
| in | The input to connect |
| fn | The pushIn function of that input |

| void OutputPrivate::disconnect | ( | InputPrivate * | in, |
| OutputPrivate::Connection | conn | ||
| ) |
Disconnet an input from this output.
| in | The input to disconnect |
| fn | The connection |

1.8.13