Caffa  1.1.0
C++ Application Framework for Embedded Systems with introspection
Public Types | Public Member Functions | List of all members
caffa::ConstObjectCollector< ObjectType > Class Template Reference

#include <cafObjectCollector.h>

Inheritance diagram for caffa::ConstObjectCollector< ObjectType >:
Inheritance graph
[legend]
Collaboration diagram for caffa::ConstObjectCollector< ObjectType >:
Collaboration graph
[legend]

Public Types

using Selector = std::function< bool(const ObjectType *)>
 

Public Member Functions

 ConstObjectCollector (Selector selector=nullptr)
 
void visitObject (const ObjectHandle *object) override
 
void visitField (const FieldHandle *field) override
 
void visitChildField (const ChildFieldBaseHandle *childField) override
 
const std::list< const ObjectType * > & objects () const
 

Detailed Description

template<typename ObjectType = ObjectHandle>
class caffa::ConstObjectCollector< ObjectType >

A simple depth first collector of const pointers to objects


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