Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# VirtualFileMountHTTP Class Reference

Maps a web page (URL root) into the VirtualFileSystem. More...

Inheritance diagram for VirtualFileMountHTTP:

List of all members.

## Public Member Functions
| VirtualFileMountHTTP (URLSpec const root, HTTPClient http)
| VirtualFileMountHTTP (URLSpec const root)
HTTPClient | getHttpClient ()
| Returns the HTTPClient object that services this mount point.
URLSpec const | getRoot ()
| Returns the URL that represents the root of this mount point.
## Static Public Member Functions
static TypeHandle | getClassType ()
static | reloadVfsMountUrl ()
| Reads all of the vfs-mount-url lines in the Config.prc file and replaces the mount settings to match them.

## Detailed Description

Maps a web page (URL root) into the VirtualFileSystem.

## Constructor & Destructor Documentation

VirtualFileMountHTTP | ( | URLSpec const | root,
|  | HTTPClient | http
| ) |  |

VirtualFileMountHTTP | ( | URLSpec const | root | ) |

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from VirtualFileMount.

HTTPClient getHttpClient | ( |  | ) |

Returns the HTTPClient object that services this mount point.

URLSpec const getRoot | ( |  | ) |

Returns the URL that represents the root of this mount point.

static reloadVfsMountUrl | ( |  | ) | `[static]`

Reads all of the vfs-mount-url lines in the Config.prc file and replaces the mount settings to match them.

This will mount any url's mentioned in the config file, and unmount and unmount any url's no longer mentioned in the config file. Normally, it is called automatically at startup, and need not be called again, unless you have fiddled with some config settings.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties