ImGraph
 All Classes Functions Variables Enumerations Pages
charliesoft::GraphOfProcess Class Reference

Public Member Functions

void saveGraph (boost::property_tree::ptree &tree) const
 
void fromGraph (boost::property_tree::ptree &tree, std::map< unsigned int, ParamValue * > &=std::map< unsigned int, ParamValue * >())
 
GraphOfProcessgetParent () const
 
void setParent (GraphOfProcess *val, SubBlock *block)
 
void initChildDatas (Block *, std::set< Block * > &listOfRenderedBlocks)
 
void addNewProcess (Block *filter)
 
void deleteProcess (Block *process)
 
void extractProcess (Block *process)
 
void createLink (Block *src, std::string paramName, Block *dest, std::string paramNameDest)
 
bool run (bool singleShot=false, bool delegateParent=true)
 
void stop (bool delegateParent=true, bool waitEnd=true)
 
void waitUntilEnd (size_t max_ms_time=0)
 
bool switchPause (bool delegateParent=true)
 
bool isPause ()
 
void blockProduced (Block *process, bool fullyRendered=true)
 
void shouldWaitAncestors (Block *process)
 
void updateAncestors (Block *process)
 
void shouldWaitConsumers (Block *process=NULL)
 
void clearWaitingList (Block *process)
 
std::vector< Block * > & getVertices ()
 
void removeLink (const BlockLink &l)
 

Member Function Documentation

void charliesoft::GraphOfProcess::blockProduced ( Block process,
bool  fullyRendered = true 
)

Will wake up waiting childs if needed...

void charliesoft::GraphOfProcess::clearWaitingList ( Block process)

Reset the waiting list of block of the parameter

void charliesoft::GraphOfProcess::shouldWaitAncestors ( Block process)

Will wait end of rendering for every block ancestor

void charliesoft::GraphOfProcess::shouldWaitConsumers ( Block process = NULL)

Will wait for childs to process the data we just produce If process is NULL, will wait for every process in the graph

void charliesoft::GraphOfProcess::updateAncestors ( Block process)

Ask an update for each block ancestor


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