TuttleOFX
1
|
#include <nodeDummy.hpp>
Public Member Functions | |
bool | isDummyReaderNode (const std::string &nodeName) |
bool | isDummyWriterNode (const std::string &nodeName) |
bool | isDummyNode (const std::string &nodeName) |
void | getFullName (std::string &inputNode) |
bpo::options_description | getInfoOptions () |
bpo::options_description | getConfOptions () |
bpo::options_description | getOpenFXOptions () |
void | getCommandLineParameters (bpo::variables_map &node_vm, const std::vector< std::string > &nodeArgs) |
void | getParametersFromCommandLine (std::vector< std::string > ¶meters, const std::vector< std::string > &nodeArgs) |
void | getPathsFromCommandLine (std::vector< std::string > &paths, const std::vector< std::string > &nodeArgs) |
void | getExtensionsFromCommandLine (std::vector< std::string > &extensions, const std::vector< std::string > &nodeArgs) |
void | addDummyNodeInList (std::vector< std::string > &list) |
void | addFullNameDummyNodeInList (std::vector< std::string > &list) |
void | addShortNameDummyNodeInList (std::vector< std::string > &list) |
std::vector< std::string > | getAllSupportedNodes (const std::string &context) |
std::vector< std::string > | getSupportedExtensions (const std::string &context) |
void | printAllSupportedNodes (const std::string &context) |
void | printAllSupportedExtensions (const std::string &context) |
void | displayHelp (const std::string &nodeFullName) |
void | displayExpertHelp (const std::string &nodeFullName) |
void | foundAssociateSpecificDummyNode (std::string &inputNode, const std::string &dummyNodeName, const NodeList &nodeList, const std::vector< std::string > &nodeArgs) |
void | foundAssociateDummyNode (std::string &inputNode, const std::vector< ttl::ofx::imageEffect::OfxhImageEffectPlugin * > &nodeList, const std::vector< std::string > &nodeArgs) |
Definition at line 26 of file nodeDummy.hpp.
void sam::samdo::Dummy::addDummyNodeInList | ( | std::vector< std::string > & | list | ) |
Definition at line 157 of file nodeDummy.cpp.
References READER_DUMMY_NAME, and WRITER_DUMMY_NAME.
Referenced by main().
void sam::samdo::Dummy::addFullNameDummyNodeInList | ( | std::vector< std::string > & | list | ) |
Definition at line 163 of file nodeDummy.cpp.
References READER_DUMMY_FULLNAME, and WRITER_DUMMY_FULLNAME.
void sam::samdo::Dummy::addShortNameDummyNodeInList | ( | std::vector< std::string > & | list | ) |
Definition at line 169 of file nodeDummy.cpp.
References READER_DUMMY_SHORTNAME, and WRITER_DUMMY_SHORTNAME.
void sam::samdo::Dummy::displayExpertHelp | ( | const std::string & | nodeFullName | ) |
Definition at line 295 of file nodeDummy.cpp.
References displayHelp(), tuttle::common::Color::get(), getOpenFXOptions(), and TUTTLE_LOG_INFO.
Referenced by foundAssociateSpecificDummyNode(), and main().
void sam::samdo::Dummy::displayHelp | ( | const std::string & | nodeFullName | ) |
Definition at line 252 of file nodeDummy.cpp.
References tuttle::common::Color::get(), getConfOptions(), getInfoOptions(), isDummyReaderNode(), isDummyWriterNode(), kOfxImageEffectContextReader, kOfxImageEffectContextWriter, sam::kUrlTuttleofxProject, printAllSupportedExtensions(), printAllSupportedNodes(), and TUTTLE_LOG_INFO.
Referenced by displayExpertHelp(), foundAssociateSpecificDummyNode(), and main().
void sam::samdo::Dummy::foundAssociateDummyNode | ( | std::string & | inputNode, |
const std::vector< ttl::ofx::imageEffect::OfxhImageEffectPlugin * > & | nodeList, | ||
const std::vector< std::string > & | nodeArgs | ||
) |
Definition at line 441 of file nodeDummy.cpp.
References foundAssociateSpecificDummyNode(), getFullName(), READER_DUMMY_NAME, and WRITER_DUMMY_NAME.
Referenced by main().
void sam::samdo::Dummy::foundAssociateSpecificDummyNode | ( | std::string & | inputNode, |
const std::string & | dummyNodeName, | ||
const NodeList & | nodeList, | ||
const std::vector< std::string > & | nodeArgs | ||
) |
Definition at line 306 of file nodeDummy.cpp.
References tuttle::host::core(), displayExpertHelp(), displayHelp(), tuttle::host::ofx::property::OfxhSet::fetchProperty(), getCommandLineParameters(), tuttle::host::ofx::imageEffect::OfxhImageEffectPlugin::getContexts(), tuttle::host::ofx::imageEffect::OfxhImageEffectPlugin::getDescriptorInContext(), tuttle::host::ofx::property::OfxhProperty::getDimension(), tuttle::host::ofx::property::OfxhProperty::getStringValue(), tuttle::host::ofx::property::OfxhSet::hasProperty(), isDummyReaderNode(), isDummyWriterNode(), sam::kExpertOptionLongName, sam::kFormatOptionLongName, sam::kHelpOptionLongName, kOfxImageEffectContextReader, kOfxImageEffectContextWriter, sam::kParamValuesOptionLongName, sam::kPluginsOptionLongName, kTuttleOfxImageEffectPropSupportedExtensions, sam::kVersionOptionLongName, tuttle::host::ofx::imageEffect::OfxhImageEffectPlugin::loadAndDescribeActions(), tuttle::max(), printAllSupportedExtensions(), printAllSupportedNodes(), properties, TUTTLE_LOG_INFO, and TUTTLE_LOG_WARNING.
Referenced by foundAssociateDummyNode().
std::vector< std::string > sam::samdo::Dummy::getAllSupportedNodes | ( | const std::string & | context | ) |
Definition at line 175 of file nodeDummy.cpp.
References tuttle::host::core().
Referenced by printAllSupportedNodes().
void sam::samdo::Dummy::getCommandLineParameters | ( | bpo::variables_map & | node_vm, |
const std::vector< std::string > & | nodeArgs | ||
) |
Definition at line 91 of file nodeDummy.cpp.
References getConfOptions(), getInfoOptions(), getOpenFXOptions(), and sam::kParamValuesOptionLongName.
Referenced by foundAssociateSpecificDummyNode(), and getParametersFromCommandLine().
bpo::options_description sam::samdo::Dummy::getConfOptions | ( | ) |
Definition at line 61 of file nodeDummy.cpp.
References sam::kIdOptionMessage, sam::kIdOptionString, sam::kNbCoresOptionMessage, sam::kNbCoresOptionString, sam::kVerboseOptionMessage, and sam::kVerboseOptionString.
Referenced by displayHelp(), and getCommandLineParameters().
void sam::samdo::Dummy::getExtensionsFromCommandLine | ( | std::vector< std::string > & | extensions, |
const std::vector< std::string > & | nodeArgs | ||
) |
Definition at line 138 of file nodeDummy.cpp.
References getParametersFromCommandLine().
Referenced by main().
void sam::samdo::Dummy::getFullName | ( | std::string & | inputNode | ) |
Definition at line 35 of file nodeDummy.cpp.
References isDummyReaderNode(), isDummyWriterNode(), READER_DUMMY_NAME, and WRITER_DUMMY_NAME.
Referenced by foundAssociateDummyNode(), and main().
bpo::options_description sam::samdo::Dummy::getInfoOptions | ( | ) |
Definition at line 49 of file nodeDummy.cpp.
References sam::kExpertOptionMessage, sam::kExpertOptionString, sam::kFormatOptionMessage, sam::kFormatOptionString, sam::kHelpOptionMessage, sam::kHelpOptionString, sam::kPluginsOptionMessage, sam::kPluginsOptionString, sam::kVersionOptionMessage, and sam::kVersionOptionString.
Referenced by displayHelp(), and getCommandLineParameters().
bpo::options_description sam::samdo::Dummy::getOpenFXOptions | ( | ) |
Definition at line 71 of file nodeDummy.cpp.
References sam::kAttributesOptionMessage, sam::kAttributesOptionString, sam::kClipOptionMessage, sam::kClipOptionString, sam::kClipsOptionMessage, sam::kClipsOptionString, sam::kParamDefaultOptionMessage, sam::kParamDefaultOptionString, sam::kParametersOptionMessage, sam::kParametersOptionString, sam::kParametersReduxOptionMessage, sam::kParametersReduxOptionString, sam::kParamGroupOptionMessage, sam::kParamGroupOptionString, sam::kParamInfosOptionMessage, sam::kParamInfosOptionString, sam::kParamPossibleValuesOptionMessage, sam::kParamPossibleValuesOptionString, sam::kParamTypeOptionMessage, sam::kParamTypeOptionString, sam::kParamValuesOptionMessage, sam::kParamValuesOptionString, sam::kPropertiesOptionMessage, and sam::kPropertiesOptionString.
Referenced by displayExpertHelp(), and getCommandLineParameters().
void sam::samdo::Dummy::getParametersFromCommandLine | ( | std::vector< std::string > & | parameters, |
const std::vector< std::string > & | nodeArgs | ||
) |
Definition at line 108 of file nodeDummy.cpp.
References getCommandLineParameters(), and sam::kParamValuesOptionLongName.
Referenced by getExtensionsFromCommandLine(), and getPathsFromCommandLine().
void sam::samdo::Dummy::getPathsFromCommandLine | ( | std::vector< std::string > & | paths, |
const std::vector< std::string > & | nodeArgs | ||
) |
Definition at line 119 of file nodeDummy.cpp.
References getParametersFromCommandLine().
Referenced by main().
std::vector< std::string > sam::samdo::Dummy::getSupportedExtensions | ( | const std::string & | context | ) |
Definition at line 202 of file nodeDummy.cpp.
References tuttle::host::core(), tuttle::host::ofx::property::OfxhProperty::getDimension(), tuttle::host::ofx::property::OfxhProperty::getStringValue(), and kTuttleOfxImageEffectPropSupportedExtensions.
Referenced by addListOfSequencesInListOfProcess(), main(), and printAllSupportedExtensions().
bool sam::samdo::Dummy::isDummyNode | ( | const std::string & | nodeName | ) |
Definition at line 30 of file nodeDummy.cpp.
References isDummyReaderNode(), and isDummyWriterNode().
Referenced by main().
bool sam::samdo::Dummy::isDummyReaderNode | ( | const std::string & | nodeName | ) |
Definition at line 20 of file nodeDummy.cpp.
References READER_DUMMY_FULLNAME, READER_DUMMY_NAME, and READER_DUMMY_SHORTNAME.
Referenced by displayHelp(), foundAssociateSpecificDummyNode(), getFullName(), isDummyNode(), and main().
bool sam::samdo::Dummy::isDummyWriterNode | ( | const std::string & | nodeName | ) |
Definition at line 25 of file nodeDummy.cpp.
References WRITER_DUMMY_FULLNAME, WRITER_DUMMY_NAME, and WRITER_DUMMY_SHORTNAME.
Referenced by displayHelp(), foundAssociateSpecificDummyNode(), getFullName(), isDummyNode(), and main().
void sam::samdo::Dummy::printAllSupportedExtensions | ( | const std::string & | context | ) |
Definition at line 247 of file nodeDummy.cpp.
References getSupportedExtensions(), and TUTTLE_LOG_INFO.
Referenced by displayHelp(), and foundAssociateSpecificDummyNode().
void sam::samdo::Dummy::printAllSupportedNodes | ( | const std::string & | context | ) |
Definition at line 239 of file nodeDummy.cpp.
References getAllSupportedNodes(), and TUTTLE_LOG_INFO.
Referenced by displayHelp(), and foundAssociateSpecificDummyNode().