Unsolved

This post is more than 5 years old

2 Intern

 • 

138 Posts

453

December 11th, 2008 01:00

Dynamic Model Pragma - Pragmas

Hello all.

I have question about pragmas, how can i create my own pragama?
For example I want to create some function for data manipulation or declare operation that do something .....

53 Posts

December 26th, 2008 15:00

I am not sure that MODEL can handle what you are trying to do.

Pragmas:

Only those pragmas listed in Table 3 on page 65, can be used with Dynamic Model.

#pragma include_c file-name
#pragma include_h file-name
#pragma Idempotent Get
#pragma ident ¿string¿
#pragma import
#pragma include
#pragma Leaf File
#pragma Local Operation
#pragma Uses Propagation
#pragma Unlocked
#pragma WrapCounter
#pragma ObjectID
#pragma DotNotation
#pragma HexNotation
#pragma SNMP table ¿file_name¿

Pragmas that produce output in C++ source files may not be used, since Dynamic
Model does not generate C++ source files.

User-defined source code:
User-defined source code that produces C++ stubs may not be included in DynamicnModel source files.

2 Intern

 • 

138 Posts

December 28th, 2008 20:00

Hello TCorcoran !

So, how can i insert my c++ code to Model file , for example to do some myOperation or others functions ?

December 30th, 2008 13:00

Hi Hemul,

this is not possible! This feature was available using the SDK (now EOL). It is not (to date) with Dynamic Model.

--Fred

=== Monitor your EMC Smarts environment with APG Smarts Health Report Pack ===
Frederic Meunier
Solutions Watch4Net Inc
APG (performance management) & Smarts InCharge (fault management) integration
http://www.watch4net.com
No Events found!

Top