|
AndroMeta
2.0.0
|
An MProcessor subclass processes M input nodes received from an MEmitter. More...
#include <MProcessor.h>
Public Member Functions | |
| virtual mnode | process (mnode n, uint32_t flags=0)=0 |
Static Public Attributes | |
| static const uint32_t | Routed = 0x0001 |
| static const uint32_t | Super = 0x0002 |
| static const uint32_t | NoError = 0x0004 |
| static const uint32_t | Strict = 0x0008 |
| static const uint32_t | Redirected = 0x0010 |
| static const uint32_t | Delegated = 0x0020 |
| static const uint32_t | NoRedirect = 0x0040 |
An MProcessor subclass processes M input nodes received from an MEmitter.
This class defines the basic interface for processing M functions, used by generators, interpreters, etc.
| virtual mnode Meta::MProcessor::process | ( | mnode | n, |
| uint32_t | flags = 0 |
||
| ) | [pure virtual] |
Classes that process M code should utilize this interface, i.e: do something with input node n, adhering to the flags, and return the result. If there is no result, 0 is typically returned.
Implemented in Meta::MLib, Meta::MRandom, Meta::MMLEntity, Meta::MObject, Meta::MMLGrid, Meta::MMLRoot, Meta::MVideoEncoder, Meta::MMage, Meta::MMLSharedVar, Meta::MMLGenerator, and Meta::MDLDomain.
const uint32_t Meta::MProcessor::Delegated = 0x0020 [static] |
Redirect flag. This process request was delegated.
const uint32_t Meta::MProcessor::NoError = 0x0004 [static] |
NoError flag. Process a function but do not throw MProcessError's.
const uint32_t Meta::MProcessor::NoRedirect = 0x0040 [static] |
Do not redirect this process request.
const uint32_t Meta::MProcessor::Redirected = 0x0010 [static] |
Redirect flag. This process request was redirected.
const uint32_t Meta::MProcessor::Routed = 0x0001 [static] |
The Routed flag indicates that this process request was already handled by superclasses of MObject and should not be routed again.
const uint32_t Meta::MProcessor::Strict = 0x0008 [static] |
Strict flag. Process a function, possibily overriding setting such that MProcessError's are thrown.
const uint32_t Meta::MProcessor::Super = 0x0002 [static] |
Super flag. Reserved.
1.7.6.1