Teamcenter C++ API Reference  2312
getDisplayableValuesOperationDispatcher.hxx
Go to the documentation of this file.
1 /*==================================================================================================
2 
3  Copyright (c) 2007 UGS
4  Unpublished - All rights reserved
5 
6 ====================================================================================================
7 File description:
8 
9  Filename: getDisplayableValuesOperationDispatcher.hxx
10  Module : extensionframework
11 
12  This is the root interface class of the getDisplayableValuesOperationDispatcher. It contains of all the generic methods
13  for getDisplayableValuesOperationDispatcher that can be reused by the derived classes.
14 
15 ====================================================================================================
16  Date Name Description of Change
17 $HISTORY$
18 ==================================================================================================*/
19 #ifndef getDisplayableValuesOperationDispatcher_HXX
20 #define getDisplayableValuesOperationDispatcher_HXX
21 
23 #include <extensionframework/libextensionframework_exports.h>
24 
25 namespace Teamcenter
26 {
27  class getDisplayableValuesOperationDispatcher;
28  class PropOperationDispatcher;
29 }
30 
31 class EXTENSIONFRAMEWORK_API Teamcenter::getDisplayableValuesOperationDispatcher : public Teamcenter::PropOperationDispatcher
32 {
33  public:
37 
38  void executePreConditions( METHOD_message_t & msg, va_list args ) const;
39  void executePreActions( METHOD_message_t & msg, va_list args ) const;
40  void executePostActions( METHOD_message_t & msg, va_list args ) const;
41 
42  //virtual void askDispatches(bool & condDispatch, bool& preDispatch, bool & baseDispatch, bool& postDispatch );
43 
44  void getDisplayableValuesPreConditions( const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues ) const;
45  void getDisplayableValuesPreActions( const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues ) const;
46  void getDisplayableValuesBaseAction( const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues ) const;
47  void getDisplayableValuesPostActions( const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues ) const;
48 
49  void getDisplayableValuesPreConditions(const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues, bool& hasReadAccess ) const;
50  void getDisplayableValuesPreActions(const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues, bool& hasReadAccess) const;
51  void getDisplayableValuesBaseAction(const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues, bool& hasReadAccess) const;
52  void getDisplayableValuesPostActions(const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues, bool& hasReadAccess) const;
53 
54  // Project 011450 changes
55  void getDisplayableValuesPreConditions( METHOD_message_t* msgData, int* num, char*** value ) const;
56  void getDisplayableValuesPreActions( METHOD_message_t* msgData, int* num, char*** value ) const;
57  void getDisplayableValuesBaseAction( METHOD_message_t* msgData, int* num, char*** value ) const;
58  void getDisplayableValuesPostActions( METHOD_message_t* msgData, int* num, char*** value ) const;
59 
60  void getDisplayableValuesPreConditions(METHOD_message_t* msgData, int* num, char*** value, logical* hasReadAccess) const;
61  void getDisplayableValuesPreActions(METHOD_message_t* msgData, int* num, char*** value, logical* hasReadAccess) const;
62  void getDisplayableValuesBaseAction(METHOD_message_t* msgData, int* num, char*** value, logical* hasReadAccess) const;
63  void getDisplayableValuesPostActions(METHOD_message_t* msgData, int* num, char*** value, logical* hasReadAccess) const;
64 
65  void getDisplayableValues( const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues ) const;
66  void getDisplayableValues(const Teamcenter::BusinessObject* obj, std::vector<std::string>& stringValues, bool& hasReadAccess ) const;
67 
68  void execute( Teamcenter::BusinessObject* obj, std::vector<void*>& args ) const;
69  void execute( tag_t objTag, va_list args ) const;
70  void execute( Teamcenter::BusinessObject* obj, va_list args ) const;
71 
72 
73  //Fix compiler warnings that were hiding virtual functions
77 
78 };
79 
80 #include <extensionframework/libextensionframework_undef.h>
81 #endif //getDisplayableValuesOperationDispatcher_HXX