Ingen  0.5.1
Public Types | Public Member Functions | List of all members
Ingen::Server::PreProcessContext Class Reference

Event pre-processing context. More...

#include <PreProcessContext.hpp>

Public Types

typedef std::unordered_set< GraphImpl * > DirtyGraphs
 

Public Member Functions

bool in_bundle () const
 Return true iff an atomic bundle is currently being pre-processed. More...
 
void set_in_bundle (bool b)
 Set/unset atomic bundle flag. More...
 
bool must_compile (GraphImpl *graph)
 Return true iff graph should be compiled now (after a change). More...
 
const DirtyGraphs & dirty_graphs () const
 Return all graphs that require compilation after an atomic bundle. More...
 
DirtyGraphs & dirty_graphs ()
 

Detailed Description

Event pre-processing context.

Member Function Documentation

§ in_bundle()

bool Ingen::Server::PreProcessContext::in_bundle ( ) const
inline

Return true iff an atomic bundle is currently being pre-processed.

§ set_in_bundle()

void Ingen::Server::PreProcessContext::set_in_bundle ( bool  b)
inline

Set/unset atomic bundle flag.

Referenced by Ingen::Server::Events::Mark::pre_process().

§ must_compile()

bool Ingen::Server::PreProcessContext::must_compile ( GraphImpl graph)
inline

Return true iff graph should be compiled now (after a change).

This may return false when an atomic bundle is deferring compilation, in which case the graph is flagged as dirty for later compilation.

References Ingen::Server::GraphImpl::enabled().

§ dirty_graphs()

const DirtyGraphs& Ingen::Server::PreProcessContext::dirty_graphs ( ) const
inline

Return all graphs that require compilation after an atomic bundle.

Referenced by Ingen::Server::Events::Mark::pre_process().


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