RTXI  2.4
The Real-Time eXperiment Interface Documentation
Public Member Functions | Static Public Member Functions | Friends
Workspace::Manager Class Reference

#include <workspace.h>

Collaboration diagram for Workspace::Manager:
Collaboration graph

Public Member Functions

void foreachWorkspace (void(*callback)(Instance *, void *), void *param)

Static Public Member Functions

static ManagergetInstance (void)


class Instance

Detailed Description

Acts as a central meeting point between Instances. Provides interfaces for finding and manipulating Blocks.

See also

Definition at line 224 of file workspace.h.

Member Function Documentation

◆ foreachWorkspace()

void Workspace::Manager::foreachWorkspace(void(*)(Instance *, void *) callback,
void * param 

Loop through each Instance and execute a callback. The callback takes two parameters, an Instance pointer and param, the second parameter to foreachWorkspace.

callbackThe callback function.
paramA parameter to the callback function.
See also

Definition at line 282 of file workspace.cpp.

◆ getInstance()

Workspace::Manager * Workspace::Manager::getInstance(void )

Manager is a Singleton, which means that there can only be one instance. This function returns a pointer to that single instance.

The instance of Manager.

Definition at line 323 of file workspace.cpp.

Friends And Related Function Documentation

◆ Instance

friend class Instance

Definition at line 227 of file workspace.h.

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