#include <command.h>

Public Types | |
| typedef RetT | ReturnType |
Public Member Functions | |
| Command () | |
| virtual ReturnType | operator() ()=0 |
Protected Member Functions | |
| virtual | ~Command () |
These classes will hold the client-defined arguments. This makes it easy to have a container of Commands which can be executed at a chosen time. This has been proven to be useful when catching GUI events and processing them during the System's preframe so that modifications to the graphics thread can be contolled.
The template parameter should be as follows:
| typedef RetT dtUtil::Command< RetT >::ReturnType |
| dtUtil::Command< RetT >::Command | ( | ) | [inline] |
| virtual dtUtil::Command< RetT >::~Command | ( | ) | [inline, protected, virtual] |
| virtual ReturnType dtUtil::Command< RetT >::operator() | ( | ) | [pure virtual] |