FaceTracker2
Public Member Functions | List of all members
VisageSDK::FolderManager Class Reference

visage|SDK folder manager. More...

#include <FolderManager.h>

Public Member Functions

 FolderManager ()
 Constructor.
 
 ~FolderManager ()
 Destructor.
 
void goToWorkingFolder ()
 Go to working folder. More...
 
void init ()
 Initialise. More...
 
void pushPath ()
 Push path. More...
 
void popPath ()
 Pop path. More...
 

Detailed Description

visage|SDK folder manager.

Used to manage folders and files for all visage|SDK samples. All samples use it to:

Definition at line 15 of file FolderManager.h.

Member Function Documentation

void VisageSDK::FolderManager::goToWorkingFolder ( )

Go to working folder.

Go to the working folder of the application, defined in FolderManagerData.h.

void VisageSDK::FolderManager::init ( )

Initialise.

Initialise the folder management:

  • find the visage|SDK root folder and go there
  • from there, go to the working folder of the particular application, defined in FolderManagerData.h
  • verify that all required files are present; required files are also defined in FolderManagerData.h; this file is unique for each application using FolderManager

If any of this fails, display an error message and exit the application.

void VisageSDK::FolderManager::popPath ( )

Pop path.

Restore the current path (current working folder) previously saved by pushPath().

See also
pushPath

Referenced by CVisionExampleDoc::OnTrackingTrackfromvideo().

void VisageSDK::FolderManager::pushPath ( )

Push path.

Save the current path (current working folder). popPath() restores it.

See also
popPath

Referenced by CVisionExampleDoc::OnTrackingTrackfromvideo().


The documentation for this class was generated from the following file: