YARP
Yet Another Robot Platform
yarp::manager::XmlResLoader Class Reference

Class XmlResLoader. More...

#include <yarp/manager/xmlresloader.h>

+ Inheritance diagram for yarp::manager::XmlResLoader:

Public Member Functions

 XmlResLoader (const char *szFileName)
 load only one module indicated by its xml file name More...
 
 XmlResLoader (const char *szPath, const char *szResName)
 
 ~XmlResLoader () override
 
bool init () override
 
void reset () override
 
void fini () override
 
GenericResourcegetNextResource () override
 
- Public Member Functions inherited from yarp::manager::ResourceLoader
 ResourceLoader ()=default
 
virtual ~ResourceLoader ()=default
 

Detailed Description

Class XmlResLoader.

Definition at line 24 of file xmlresloader.h.

Constructor & Destructor Documentation

◆ XmlResLoader() [1/2]

XmlResLoader::XmlResLoader ( const char *  szFileName)

load only one module indicated by its xml file name

Definition at line 47 of file xmlresloader.cpp.

◆ XmlResLoader() [2/2]

XmlResLoader::XmlResLoader ( const char *  szPath,
const char *  szResName 
)

Definition at line 28 of file xmlresloader.cpp.

◆ ~XmlResLoader()

XmlResLoader::~XmlResLoader ( )
override

Definition at line 56 of file xmlresloader.cpp.

Member Function Documentation

◆ fini()

void XmlResLoader::fini ( )
overridevirtual

Implements yarp::manager::ResourceLoader.

Definition at line 128 of file xmlresloader.cpp.

◆ getNextResource()

GenericResource * XmlResLoader::getNextResource ( )
overridevirtual

we need to check for a single resource

Implements yarp::manager::ResourceLoader.

Definition at line 134 of file xmlresloader.cpp.

◆ init()

bool XmlResLoader::init ( )
overridevirtual

loading single resource indicated by its xml file name

Implements yarp::manager::ResourceLoader.

Definition at line 65 of file xmlresloader.cpp.

◆ reset()

void XmlResLoader::reset ( )
overridevirtual

Implements yarp::manager::ResourceLoader.

Definition at line 121 of file xmlresloader.cpp.


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