Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConfigurableList Class Reference

Establishes for some methods the notifications for registered Callbackable instances (use addCallbackable(...)). More...

#include <configurablelist.h>

Inheritance diagram for ConfigurableList:
Collaboration diagram for ConfigurableList:

Public Member Functions

 ConfigurableList ()
 
virtual ~ConfigurableList ()
 
void push_back (Configurable *const &configurable)
 
iterator erase (iterator pos)
 
void pop_back ()
 
void clear ()
 
- Public Member Functions inherited from BackCaller
 BackCaller ()
 
virtual ~BackCaller ()
 
virtual void addCallbackable (Callbackable *callbackableInstance, CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Adds a Callbackable instance to this caller instance. More...
 
virtual void removeCallbackable (Callbackable *callbackableInstance, CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Removes a Callbackable instance from this caller instance. More...
 
virtual void removeAllCallbackables (CallbackableType type)
 Removes all Callbackable instances from this caller instance. More...
 
virtual void callBack (CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Calls all registered callbackable classes of the determined type. More...
 
virtual void callBackQMP (CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Calls all registered callbackable classes of the determined type. More...
 

Static Public Attributes

static const CallbackableType CALLBACK_CONFIGURABLE_LIST_MODIFIED = 3
 Indicates that the list has been modified, a Configurable instance was either added or removed. More...
 
static const CallbackableType CALLBACK_CONFIGURABLE_LIST_BEING_DELETED = 4
 Indicates that the list is being deleted. More...
 
- Static Public Attributes inherited from BackCaller
static const CallbackableType DEFAULT_CALLBACKABLE_TYPE = 0
 This is the default Callbackable type. More...
 

Additional Inherited Members

- Public Types inherited from BackCaller
typedef unsigned long CallbackableType
 

Detailed Description

Establishes for some methods the notifications for registered Callbackable instances (use addCallbackable(...)).

Warning
Only the following methods are currently supported: push_back(...), pop_back(), erase() and clear()! You can use iterators with the limitation to not delete or insert.

Constructor & Destructor Documentation

~ConfigurableList ( )
virtual

Member Function Documentation

void clear ( )
ConfigurableList::iterator erase ( iterator  pos)
void pop_back ( )
void push_back ( Configurable *const &  configurable)

Member Data Documentation

const CallbackableType CALLBACK_CONFIGURABLE_LIST_BEING_DELETED = 4
static

Indicates that the list is being deleted.

const CallbackableType CALLBACK_CONFIGURABLE_LIST_MODIFIED = 3
static

Indicates that the list has been modified, a Configurable instance was either added or removed.


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