Custom FS Helper Sample Code


This directory contains sample code for adding a custom file system helper. Refer to the toolkit documentation for more details.

Home Redirector
This example shows how to add a custom file handler to Houdini. There are three separate types of helpers that can be added. An FS_ReaderHelper is used for reading files; an FS_WriterHelper is used for writing files; and an FS_InfoHelper is used for getting file information and browsing directories. In this example, we implement a subclass of each of these classes to allow the user to specify a file name in the format "home:/foo/bar.hip". This file name will be reinterpreted by these derived classes as if the user had entered "$HOME/foo/bar.hip". This example does not implement any subclasses of the FS_ReaderStream or FS_WriterStream classes, but these classes can also be extended to provide extra functionality (such as buffering of read and write operations).
FS_HomeHelper.C
FS_HomeHelper.h
Source code for the FS_ReaderHelper, FS_WriterHelper, and FS_InfoHelper derived classes.

Install Script

sample_install.sh is a sample install script.

The script will compile the sample source code. By default, everything is installed in your home directory.


Copyright © 1996 Side Effects Software Inc.
477 Richmond Street West, Toronto, Ontario, Canada M5V 3E7