YARP
Yet Another Robot Platform
ResourceFinderOptions.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
10 
11 using namespace yarp::os;
12 
14  DuplicateFilesPolicy duplicateFilesPolicy,
15  SearchFlavor searchFlavor,
16  const std::string& resourceType,
17  MessageFilter messageFilter)
18 {
19  this->searchLocations = searchLocations;
20  this->duplicateFilesPolicy = duplicateFilesPolicy;
21  this->searchFlavor = searchFlavor;
22  this->resourceType = resourceType;
23  this->messageFilter = messageFilter;
24 }
DuplicateFilesPolicy duplicateFilesPolicy
ResourceFinderOptions(SearchLocations searchLocations=ModuleDefault, DuplicateFilesPolicy duplicateFilesPolicy=First, SearchFlavor searchFlavor=ConfigAndDataLike, const std::string &resourceType="", MessageFilter messageFilter=ShowFromFlags)
An interface to the operating system, including Port based communication.