introspection is protected
This commit is contained in:
parent
64901a27cb
commit
4fd1c4de29
|
@ -96,16 +96,6 @@ bool Method::setName(std::string name)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Method::isContainer
|
||||
* @return
|
||||
*/
|
||||
bool Method::isContainer() const
|
||||
{
|
||||
return !children_.empty();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Method::dispatch
|
||||
* @param patterns
|
||||
|
@ -218,4 +208,14 @@ bool Method::isRoot() const
|
|||
return !parent_;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Method::isContainer
|
||||
* @return
|
||||
*/
|
||||
bool Method::isContainer() const
|
||||
{
|
||||
return !children_.empty();
|
||||
}
|
||||
|
||||
} // namespace OSC
|
||||
|
|
|
@ -47,7 +47,6 @@ public:
|
|||
std::string address() const;
|
||||
std::string name() const;
|
||||
bool setName(std::string name);
|
||||
bool isContainer() const;
|
||||
|
||||
bool dispatch(std::list<std::string> patterns, const std::shared_ptr<Message> msg) const;
|
||||
|
||||
|
@ -57,6 +56,7 @@ protected:
|
|||
void trigger(std::shared_ptr<Message>) const;
|
||||
bool matchName(const std::string &pattern) const;
|
||||
bool isRoot() const;
|
||||
bool isContainer() const;
|
||||
|
||||
private:
|
||||
Method *parent_;
|
||||
|
|
Loading…
Reference in New Issue