Classes | Namespaces | Macros | Functions
include/dynamic-graph/entity.h File Reference
#include <dynamic-graph/dynamic-graph-api.h>
#include <dynamic-graph/exception-factory.h>
#include <dynamic-graph/logger.h>
#include <dynamic-graph/signal-array.h>
#include <dynamic-graph/signal-base.h>
#include <boost/noncopyable.hpp>
#include <dynamic-graph/fwd.hh>
#include <iosfwd>
#include <map>
#include <sstream>
#include <string>
Include dependency graph for include/dynamic-graph/entity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dynamicgraph::Entity
 This class represents an entity, i.e. a generic computational unit that provides input and output signals. More...
 

Namespaces

 dynamicgraph
 

Macros

#define DYNAMIC_GRAPH_ENTITY_DECL()
 Helper macro for entity declaration. More...
 

Functions

DYNAMIC_GRAPH_DLLAPI std::ostream & dynamicgraph::operator<< (std::ostream &os, const dynamicgraph::Entity &ent)
 

Macro Definition Documentation

◆ DYNAMIC_GRAPH_ENTITY_DECL

#define DYNAMIC_GRAPH_ENTITY_DECL ( )
Value:
public: \
virtual const std::string &getClassName() const { return CLASS_NAME; } \
static const std::string CLASS_NAME

Helper macro for entity declaration.

This macro should be called in the declaration of all entities. Example: class A : public dynamicgraph::entity { DYNAMIC_GRAPH_ENTITY_DECL();

public: };

Caution: you MUST call DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN in the associated source file to ensure that the attributes generated by this macro are correctly initialized.

Definition at line 38 of file include/dynamic-graph/entity.h.



dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03