Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::AnlReader Class Reference

Public Member Functions

dclspc AnlReader (const char *pLocale=nullptr)
dclspc AnlReader (SocketRegistry &socketRegistry, const char *pLocale=nullptr)
std::unique_ptr< ModuleCollection > dclspc ReadModuleCollection (const std::filesystem::path &path) const
std::unique_ptr< ModuleCollection > dclspc ReadModuleCollection (const unsigned char *bufferStart, const unsigned char *bufferEnd) const
Module Reading

Reads a module from a file or buffer.

Parameters
fromPathThe path to the file to read from.
atIdxThe index of the module to read.
Returns
A unique pointer to the module.
std::unique_ptr< Module > dclspc ReadModule (const std::filesystem::path &fromPath, int atIdx=1) const
std::unique_ptr< Module > dclspc ReadModule (const unsigned char *bufferStart, const unsigned char *bufferEnd, int atIdx=1) const

Track System Reading

Reads a track system from a file or buffer.

Parameters
fromPathThe path to the file to read from.
atIdxThe index of the track system to read.
Returns
A shared pointer to the track system.
SocketRegistrym_SocketRegistry
std::shared_ptr< TrackSystem > dclspc ReadTrackSystem (const std::filesystem::path &fromPath, int atIdx=1) const
std::shared_ptr< TrackSystem > dclspc ReadTrackSystem (const unsigned char *bufferStart, const unsigned char *bufferEnd, int atIdx=1) const

The documentation for this class was generated from the following file:
  • C:/Trend/Development/Trax3/Code/trax/rigid/modules/support/AnlReader.h