Last change
on this file since 4248 was 4248, checked in by Eric.Larour, 15 years ago |
Better organization of header files for abstract classes and their derivatives
|
File size:
1.4 KB
|
Rev | Line | |
---|
[4050] | 1 | /*! \file IntExternalResult.h
|
---|
| 2 | * \brief: header file for triavertexinput object
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | #ifndef _INTEXTERNALRESULT_H_
|
---|
| 7 | #define _INTEXTERNALRESULT_H_
|
---|
| 8 |
|
---|
| 9 | /*Headers:*/
|
---|
| 10 | /*{{{1*/
|
---|
| 11 |
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include "config.h"
|
---|
| 14 | #else
|
---|
| 15 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
| 16 | #endif
|
---|
| 17 |
|
---|
| 18 | #ifdef _SERIAL_
|
---|
| 19 | #include <mex.h>
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | #include "./ExternalResult.h"
|
---|
| 24 | #include "../../include/include.h"
|
---|
| 25 | #include "../../shared/shared.h"
|
---|
| 26 | #include "../../include/include.h"
|
---|
| 27 | #include "../../include/include.h"
|
---|
| 28 | /*}}}*/
|
---|
| 29 |
|
---|
| 30 | class IntExternalResult: public ExternalResult{
|
---|
| 31 |
|
---|
| 32 | public:
|
---|
| 33 | int id;
|
---|
| 34 | int enum_type;
|
---|
| 35 | int value;
|
---|
| 36 | int step;
|
---|
| 37 | double time;
|
---|
| 38 |
|
---|
| 39 |
|
---|
[4248] | 40 | /*IntExternalResult constructors, destructors: {{{1*/
|
---|
[4050] | 41 | IntExternalResult();
|
---|
| 42 | IntExternalResult(int id,int enum_type,int value,int step,double time);
|
---|
| 43 | ~IntExternalResult();
|
---|
| 44 |
|
---|
| 45 | /*}}}*/
|
---|
[4248] | 46 | /*Object virtual functions definitions:{{{1 */
|
---|
| 47 | void Echo();
|
---|
[4050] | 48 | void DeepEcho();
|
---|
[4248] | 49 | int Id();
|
---|
| 50 | int MyRank();
|
---|
| 51 | void Marshall(char** pmarshalled_dataset);
|
---|
| 52 | int MarshallSize();
|
---|
[4050] | 53 | void Demarshall(char** pmarshalled_dataset);
|
---|
| 54 | int Enum();
|
---|
[4248] | 55 | Object* copy();
|
---|
[4050] | 56 | /*}}}*/
|
---|
[4248] | 57 | /*ExternalResult managemnet: {{{1*/
|
---|
[4050] | 58 | int EnumType(){return enum_type;}
|
---|
[4139] | 59 | void WriteData(FILE* fid);
|
---|
[4166] | 60 | char* GetResultName(void);
|
---|
| 61 | #ifdef _SERIAL_
|
---|
| 62 | void SetMatlabField(mxArray* dataref);
|
---|
| 63 | #endif
|
---|
[4182] | 64 | int GetStep(void);
|
---|
[4050] | 65 | /*}}}*/
|
---|
| 66 | };
|
---|
| 67 | #endif /* _INTEXTERNALRESULT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.