View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Classes | Public Member Functions | Friends | List of all members
vistle::Reader::Token Class Reference

#include <module/reader.h>

Public Member Functions

 Token (Reader *reader, std::shared_ptr< Token > previous)
 an instance of this class is handed out with every read Reader::read call More...
 
Readerreader () const
 
const Metameta () const
 
bool wait (const std::string &port=std::string())
 
bool addObject (const std::string &port, Object::ptr obj)
 
bool addObject (Port *port, Object::ptr obj)
 
void applyMeta (vistle::Object::ptr obj) const
 
unsigned long id () const
 

Friends

class vistle::Reader
 
V_MODULEEXPORT std::ostream & operator<< (std::ostream &os, const Token &tok)
 

Constructor & Destructor Documentation

◆ Token()

vistle::Reader::Token::Token ( Reader reader,
std::shared_ptr< Token previous 
)

an instance of this class is handed out with every read Reader::read call

Member Function Documentation

◆ addObject() [1/2]

bool vistle::Reader::Token::addObject ( const std::string &  port,
Object::ptr  obj 
)

◆ addObject() [2/2]

bool vistle::Reader::Token::addObject ( Port port,
Object::ptr  obj 
)

◆ applyMeta()

void vistle::Reader::Token::applyMeta ( vistle::Object::ptr  obj) const

◆ id()

unsigned long vistle::Reader::Token::id ( ) const

◆ meta()

const Meta & vistle::Reader::Token::meta ( ) const

◆ reader()

Reader * vistle::Reader::Token::reader ( ) const

◆ wait()

bool vistle::Reader::Token::wait ( const std::string &  port = std::string())

Friends And Related Function Documentation

◆ operator<<

V_MODULEEXPORT std::ostream & operator<< ( std::ostream &  os,
const Token tok 
)
friend

◆ vistle::Reader

friend class vistle::Reader
friend

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