Teamcenter C++ API Reference  2312
Classes | Namespaces | Typedefs | Enumerations
OperationDispatcher.hxx File Reference
#include <unidefs.h>
#include <vector>
#include <tccore/method.h>
#include <itk/bmf.h>
#include <metaframework/BusinessObject.hxx>
#include <metaframework/Object.hxx>
#include <property/BulkPropertyContextData.hxx>
#include <extensionframework/libextensionframework_exports.h>
#include <extensionframework/libextensionframework_undef.h>

Go to the source code of this file.

Classes

struct  Teamcenter::extn_fn
 
class  Teamcenter::OperationDispatcher
 

Namespaces

namespace  Teamcenter
 A convenient C++ class to manage a list of tag_t. This convenient class is derived from TagList class which is only available for internal developers.
 

Typedefs

typedef enum
EXTENSIONFRAMEWORK_extension_category_e 
EXTENSIONFRAMEWORK_extension_category_t
 
typedef enum
EXTENSIONFRAMEWORK_extension_priority_e 
EXTENSIONFRAMEWORK_extension_priority_t
 
typedef enum
EXTENSIONFRAMEWORK_operation_extn_propagation_context_e 
EXTENSIONFRAMEWORK_operation_extn_propagation_context_t
 
typedef enum
EXTENSIONFRAMEWORK_postactions_execution_option_e 
EXTENSIONFRAMEWORK_postactions_execution_option_t
 

Enumerations

enum  EXTENSIONFRAMEWORK_extension_category_e { EXTENSION_CATEGORY_UNDEFINED = 0, OBJECT_BASED_METAMODEL_EXTENSION, LEGACY_MESSAGE_BASED_EXTENSION, SET_BASED_METAMODEL_EXTENSION }
 
enum  EXTENSIONFRAMEWORK_extension_priority_e { PRIORITY_LOW = 0, PRIORITY_HIGH }
 
enum  EXTENSIONFRAMEWORK_operation_extn_propagation_context_e { DEFAULT_PROPAGATION = 0, SET_BASED_MERGE_PROPAGATION, OBJECT_BASED_MESSAGE_BASED_MERGE_PROPAGATION }
 
enum  EXTENSIONFRAMEWORK_postactions_execution_option_e { ALL_POST_ACTIONS = 0, HIGH_PRIORITY_POST_ACTIONS }
 

Typedef Documentation

Pre, Post and Base extension category updated during extension registration for each type of operation These extension categories would help to identify the function invoker required to convert set based input to the legacy message based extension inputs and also the set based input to the object based meta model extension inputs

Specify the extension priority. The high priority extensions should always be executed before the low priority extensions

Specify the Operation Extensions propagation context during merge of extensions. This would help to idnetify if the function invoker is required for set based operation The value MERGE_PROPAGATION is updated during merge operation only and pass till ExtensionAttachCache from Operation dispatcher code

To set type of PostActions to execute. HIGH_PRIORITY_POST_ACTIONS option is used to execute PRIORITY_HIGH PostAction extensions (i.e. internal PostAction extensions) for non-refactored Save functions

Enumeration Type Documentation

Pre, Post and Base extension category updated during extension registration for each type of operation These extension categories would help to identify the function invoker required to convert set based input to the legacy message based extension inputs and also the set based input to the object based meta model extension inputs

Enumerator
EXTENSION_CATEGORY_UNDEFINED 

Identifies default extension category

OBJECT_BASED_METAMODEL_EXTENSION 

Identifies object based metamodel extension category

LEGACY_MESSAGE_BASED_EXTENSION 

Identifies legacy message based extension category

SET_BASED_METAMODEL_EXTENSION 

Identifies set based metamodel extension category

Definition at line 52 of file OperationDispatcher.hxx.

Specify the extension priority. The high priority extensions should always be executed before the low priority extensions

Enumerator
PRIORITY_LOW 

Identifies the extension added to the operation as low priority extension. This is the default priority of the extension

PRIORITY_HIGH 

Identifies the extension added to the operation as high priority extension

Definition at line 79 of file OperationDispatcher.hxx.

Specify the Operation Extensions propagation context during merge of extensions. This would help to idnetify if the function invoker is required for set based operation The value MERGE_PROPAGATION is updated during merge operation only and pass till ExtensionAttachCache from Operation dispatcher code

Enumerator
DEFAULT_PROPAGATION 

Signifies if the extensions are propagated from parent to child operation dispatcher

SET_BASED_MERGE_PROPAGATION 

Signifies if the extensions are merged from object based or legacy message based operation dispatcher to set based operation dispatcher

OBJECT_BASED_MESSAGE_BASED_MERGE_PROPAGATION 

Signifies if the extensions are merged from set based operation dispatcher to the object based or the legacy message based operation dispatcher

Definition at line 66 of file OperationDispatcher.hxx.

To set type of PostActions to execute. HIGH_PRIORITY_POST_ACTIONS option is used to execute PRIORITY_HIGH PostAction extensions (i.e. internal PostAction extensions) for non-refactored Save functions

Enumerator
ALL_POST_ACTIONS 

All the post action extensions attached to the operation needs to be executed

HIGH_PRIORITY_POST_ACTIONS 

Only the high priority( PRIORITY_HIGH ) post action extensions attached to the operation needs to be executed

Definition at line 89 of file OperationDispatcher.hxx.