Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HIOUtilityOOC.h
1 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
10 #ifndef _HIOUTILITYOOC_H
11 #define _HIOUTILITYOOC_H
12 
13 #include "HIOManager.h"
14 #include "utf_utils.h"
15 
16 #ifdef _MSC_VER
17 #define HIO_API __declspec (dllexport)
18 #else
19 #define HIO_API
20 #endif
21 
22 class HIO_API HOOCOptions {
23 public:
24  HOOCOptions () {};
25  ~HOOCOptions () {};
26 };
27 
32 class HIO_API HIOUtilityOOC : public HInputHandler {
33 public:
35  HIOUtilityOOC ();
36  ~HIOUtilityOOC ();
37 
38 
45  HFileInputResult FileInputByKey ( wchar_t const * filename, HC_KEY key, HInputHandlerOptions * options );
46  HFileInputResult FileInputByKey ( char const * filename, HC_KEY key, HInputHandlerOptions * options ) {
53  return FileInputByKey(H_WCS(filename).encodedText(), key, options);
54  };
55 
56  char const * GetInputName () { return "HIOUtilityOOC"; };
57  char const * GetInputTypesString () { return "ooc"; };
60 
61  static bool FreePointCloudData ( int signal, void * signal_data, void * user_data );
62  static bool UpdateCheck ( float request_time, float actual_time, void * user_data );
63 };
64 
65 #ifdef HIO_OOC_IMPORT
66 extern "C" {
67  HIO_API void * CreateInput ( HIOManager * manager );
68  HIO_API void * CreateOutput ( HIOManager * manager );
69  HIO_API void * CreateConnector ( void * unused );
70  HIO_API void Free ( HIOUtilityOOC * handler );
71  HIO_API void FreeConnector ( HIOConnector * connector );
72 }
73 #endif
74 
75 #endif // _HIOUTILITYOOC_H
Definition: HIOManager.h:1412
virtual void RegisterInputHandlerTypes()=0
char const * GetInputName()
Definition: HIOUtilityOOC.h:56
Specifies an HInputHandler for model data.
Definition: HIOManager.h:225
virtual HFileInputResult FileInputByKey(const char *filename, HC_KEY key, HInputHandlerOptions *options)
Definition: HIOManager.h:147
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:671
#define HC_KEY
char const * GetInputTypesString()
Definition: HIOUtilityOOC.h:57
Definition: HIOUtilityOOC.h:22
HInputHandlerStyle
Definition: HIOManager.h:224
HInputHandlerStyle GetInputStyle()
Definition: HIOUtilityOOC.h:58
Definition: HIOManager.h:245
A header file containing the HIO classes for passing to HBaseView::FileInput and HBaseView::FileOutpu...
Definition: HIOUtilityOOC.h:32