![]() |
Cinder
0.9.1
|
#include <Node.h>
Public Member Functions | |
ScopedEnableNode (const NodeRef &node) | |
ScopedEnableNode (const NodeRef &node, bool enable) | |
~ScopedEnableNode () | |
RAII-style utility class to set a Node's enabled state and have it restored at the end of the current scope block.
cinder::audio::ScopedEnableNode::ScopedEnableNode | ( | const NodeRef & | node | ) |
Constructs an object that will store node's enabled state and restore it at the end of the current scope.
cinder::audio::ScopedEnableNode::ScopedEnableNode | ( | const NodeRef & | node, |
bool | enable | ||
) |
Constructs an object that will set node's enabled state to enable and restore it to the original state at the end of the current scope.
cinder::audio::ScopedEnableNode::~ScopedEnableNode | ( | ) |