Rumba C++ SDK
ObserverRumbaAttribute Class Reference

#include <NodeDelegateRumbaAttributeObserver.h>

Inheritance diagram for ObserverRumbaAttribute:
maquina::NodeDelegate::Observer

Public Member Functions

 ObserverRumbaAttribute (std::shared_ptr< maquina::NodeDelegate::Observer > notification_observer, const std::string &attribute_owner, const std::string &attribute_name)
 
std::shared_ptr< maquina::NodeDelegate::AttributeDelegateattribute ()
 Return the observed attribute. More...
 
- Public Member Functions inherited from maquina::NodeDelegate::Observer
virtual ~Observer ()
 

Static Public Member Functions

static std::shared_ptr< maquina::NodeDelegate::Observercreate (const std::function< void()> &func, std::shared_ptr< maquina::NodeDelegate::AttributeDelegate > attribute_to_observe, bool in_interactive=true)
 

Constructor & Destructor Documentation

◆ ObserverRumbaAttribute()

ObserverRumbaAttribute::ObserverRumbaAttribute ( std::shared_ptr< maquina::NodeDelegate::Observer notification_observer,
const std::string &  attribute_owner,
const std::string &  attribute_name 
)

Member Function Documentation

◆ attribute()

std::shared_ptr<maquina::NodeDelegate::AttributeDelegate> ObserverRumbaAttribute::attribute ( )
virtual

Return the observed attribute.

Return nullptr if the attribute does not exist anymore. Implemented by the plug-in.

Implements maquina::NodeDelegate::Observer.

◆ create()

static std::shared_ptr<maquina::NodeDelegate::Observer> ObserverRumbaAttribute::create ( const std::function< void()> &  func,
std::shared_ptr< maquina::NodeDelegate::AttributeDelegate attribute_to_observe,
bool  in_interactive = true 
)
static

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