roviz  0.7
Code Documentation of roviz
Public Types | Public Member Functions | Public Attributes | List of all members
OutputPrivate Class Reference

Private part of the Ouput class. More...

#include <output_p.h>

Collaboration diagram for OutputPrivate:
Collaboration graph

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
 

Detailed Description

Private part of the Ouput class.

This class is also used by the connection mechanism to connect to inputs.

Member Function Documentation

◆ connect()

OutputPrivate::Connection OutputPrivate::connect ( InputPrivate in,
std::function< void(StreamObject)>  fn 
)

Connects an input to this output.

Parameters
inThe input to connect
fnThe pushIn function of that input
Returns
An object representing this connection
See also
disconnect
Here is the caller graph for this function:

◆ disconnect()

void OutputPrivate::disconnect ( InputPrivate in,
OutputPrivate::Connection  conn 
)

Disconnet an input from this output.

Parameters
inThe input to disconnect
fnThe connection
See also
connect
Here is the caller graph for this function:

The documentation for this class was generated from the following files: