AndroMeta  2.0.0
Public Member Functions | Static Public Attributes
Meta::MProcessor Class Reference

An MProcessor subclass processes M input nodes received from an MEmitter. More...

#include <MProcessor.h>

Inheritance diagram for Meta::MProcessor:
Meta::MGenerator Meta::MObject Meta::MMLGenerator Meta::MAuth Meta::MLibBase Meta::MMage Meta::MMLEntity Meta::MRandom Meta::MVideoEncoderBase Meta::MLib Meta::MDLDomain Meta::MMLGrid Meta::MMLRoot Meta::MMLSharedVar Meta::MVideoEncoder

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.


Member Data Documentation

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.


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