roviz  0.7
Code Documentation of roviz
Public Member Functions | Friends | List of all members
Output< T > Class Template Reference

Represents the output of an item. More...

#include <output.h>

Collaboration diagram for Output< T >:
Collaboration graph

Public Member Functions

void pushOut (T obj)
 Pushes out a Stream object. More...
 

Friends

class RovizItemBase
 

Detailed Description

template<class T>
class Output< T >

Represents the output of an item.

The template type of this class has to be a valid StreamObject implementation.

See also
Input

Member Function Documentation

◆ pushOut()

template<class T>
void Output< T >::pushOut ( obj)

Pushes out a Stream object.

Parameters
objA StreamObject

Forwards a StreamObject to all connected inputs.

VERY IMPORTANT: Do NOT modify the corresponding mutable object of 'obj' after this function call! This function will take ownership of 'obj', any modifications to it would propagate to the connected inputs, which might lead to race conditions and horrible failures!


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