Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

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