OSSIA
Open Scenario System for Interactive Application
ossia::expressions::expression_pulse Class Referencefinal

expression_pulse : becomes true when a message happens More...

Inherits ossia::expressions::expression_callback_container.

Detailed Description

expression_pulse : becomes true when a message happens

See also
expression.hpp

Public Member Functions

 expression_pulse (const destination &destination)
 
 expression_pulse (expression_pulse &&other)=delete
 
expression_pulseoperator= (expression_pulse &&other)=delete
 
 expression_pulse (const expression_pulse &other)=delete
 
expression_pulseoperator= (const expression_pulse &other)=delete
 
bool evaluate () const
 evaluate if a destination value change have been observed since expression creation or since the last update More...
 
void update () const
 reset the evaluation to false until the next destination update
 
void reset ()
 
const destination & get_destination () const
 

Member Function Documentation

◆ evaluate()

bool ossia::expressions::expression_pulse::evaluate ( ) const

evaluate if a destination value change have been observed since expression creation or since the last update

Returns
true after the destination being updated