feature-abstract.hh File Reference
#include <jrl/mal/boost.hh>
#include <sot/core/flags.hh>
#include <dynamic-graph/all-signals.h>
#include <dynamic-graph/entity.h>
#include <sot/core/pool.hh>
#include "sot/core/api.hh"
#include "sot/core/deprecated.hh"
#include <string>

Classes

class  dynamicgraph::sot::FeatureAbstract
 This class gives the abstract definition of a feature. More...
class  dynamicgraph::sot::FeatureReferenceHelper< FeatureSpecialized >

Namespaces

namespace  dynamicgraph
 

This class implements the Stack of Task. It allows to deal with the priority of the controllers through the shell. The controllers can be either constraints either tasks.


namespace  dynamicgraph::sot

Defines

#define DECLARE_REFERENCE_FUNCTIONS(FeatureSpecialized)
#define DECLARE_NO_REFERENCE

Define Documentation

Value:
virtual void setReference( FeatureAbstract * ) {} \
    virtual const FeatureAbstract * getReferenceAbstract( void ) const {return NULL; } \
    virtual FeatureAbstract * getReferenceAbstract( void ){return NULL; } \
    virtual void addDependenciesFromReference( void ) {}    \
    virtual void removeDependenciesFromReference( void ) {} \
    /* To force a ; */bool NO_REFERENCE
#define DECLARE_REFERENCE_FUNCTIONS (   FeatureSpecialized)
Value:
typedef FeatureReferenceHelper<FeatureSpecialized> SP; \
  virtual void setReference( FeatureAbstract * sdes ) \
  { \
    if( sdes==NULL ) \
      { \
  /* UNSET */ \
  if( SP::isReferenceSet() ) \
    removeDependenciesFromReference(); \
  SP::unsetReference(); \
      } \
    else \
      { \
  /* SET */ \
  SP::setReference(sdes); \
  if( SP::isReferenceSet() ) \
    addDependenciesFromReference(); \
      } \
  } \
  virtual const FeatureAbstract * getReferenceAbstract( void ) const {return SP::getReference();} \
  virtual FeatureAbstract * getReferenceAbstract( void ){return (FeatureAbstract*)SP::getReference();} \
  bool isReferenceSet( void ) const { return SP::isReferenceSet(); } \
  virtual void addDependenciesFromReference( void ); \
  virtual void removeDependenciesFromReference( void )
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines