Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes

openfluid::market::MarketPackage Class Reference

Inheritance diagram for openfluid::market::MarketPackage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MarketPackage (openfluid::base::FuncID_t ID, std::string PackageURL)
virtual ~MarketPackage ()
openfluid::base::FuncID_t getID () const
virtual
MetaPackageInfo::SelectionType 
getFormat () const =0
virtual void process ()=0
void download ()

Static Public Member Functions

static void initialize (bool EnableLog)
static void setWorksDirs (std::string TempDir, std::string MarketBagBinDir, std::string MarketBagSrcDir)
static std::string getMarketBagBinDir ()
static std::string getMarketBagSrcDir ()
static std::string getTempDir ()
static std::string getTempBuildsDir ()
static std::string getTempDownloadsDir ()
static std::string getLogFile ()
static std::string getCommonBuildOptions ()
static void setCommonBuildOptions (std::string BuildOptions)
static std::string composeFullBuildOptions (std::string BuildOptions)

Static Protected Member Functions

static void resetLogFile ()
static void appendToLogFile (const std::string &PackageName, const std::string &Action, const std::string &Str)
static void appendToLogFile (const std::string &Str)

Protected Attributes

openfluid::base::FuncID_t m_ID
std::string m_PackageURL
std::string m_PackageFilename
std::string m_PackageDest
bool m_Downloaded

Static Protected Attributes

static const std::string BUILDS_SUBDIR
static const std::string DLOADS_SUBDIR
static const std::string LOG_FILENAME
static std::string m_TempDir
static std::string m_TempBuildsDir
static std::string m_TempDownloadsDir
static std::string m_MarketBagBinDir
static std::string m_MarketBagSrcDir
static std::string m_CMakeCommand
static std::string m_CommonBuildConfigOptions
static std::string m_LogFile
static bool m_IsLogEnabled
static bool m_Initialized

Constructor & Destructor Documentation

openfluid::market::MarketPackage::MarketPackage ( openfluid::base::FuncID_t  ID,
std::string  PackageURL 
)
virtual openfluid::market::MarketPackage::~MarketPackage ( ) [virtual]

Member Function Documentation

static void openfluid::market::MarketPackage::appendToLogFile ( const std::string &  PackageName,
const std::string &  Action,
const std::string &  Str 
) [static, protected]
static void openfluid::market::MarketPackage::appendToLogFile ( const std::string &  Str) [static, protected]
static std::string openfluid::market::MarketPackage::composeFullBuildOptions ( std::string  BuildOptions) [static]
void openfluid::market::MarketPackage::download ( )
static std::string openfluid::market::MarketPackage::getCommonBuildOptions ( ) [inline, static]
virtual MetaPackageInfo::SelectionType openfluid::market::MarketPackage::getFormat ( ) const [pure virtual]
openfluid::base::FuncID_t openfluid::market::MarketPackage::getID ( ) const [inline]
static std::string openfluid::market::MarketPackage::getLogFile ( ) [inline, static]
static std::string openfluid::market::MarketPackage::getMarketBagBinDir ( ) [inline, static]
static std::string openfluid::market::MarketPackage::getMarketBagSrcDir ( ) [inline, static]
static std::string openfluid::market::MarketPackage::getTempBuildsDir ( ) [inline, static]
static std::string openfluid::market::MarketPackage::getTempDir ( ) [inline, static]
static std::string openfluid::market::MarketPackage::getTempDownloadsDir ( ) [inline, static]
static void openfluid::market::MarketPackage::initialize ( bool  EnableLog) [static]
virtual void openfluid::market::MarketPackage::process ( ) [pure virtual]
static void openfluid::market::MarketPackage::resetLogFile ( ) [static, protected]
static void openfluid::market::MarketPackage::setCommonBuildOptions ( std::string  BuildOptions) [inline, static]
static void openfluid::market::MarketPackage::setWorksDirs ( std::string  TempDir,
std::string  MarketBagBinDir,
std::string  MarketBagSrcDir 
) [static]

Member Data Documentation

const std::string openfluid::market::MarketPackage::BUILDS_SUBDIR [static, protected]
const std::string openfluid::market::MarketPackage::DLOADS_SUBDIR [static, protected]
const std::string openfluid::market::MarketPackage::LOG_FILENAME [static, protected]
std::string openfluid::market::MarketPackage::m_CMakeCommand [static, protected]
std::string openfluid::market::MarketPackage::m_LogFile [static, protected]
std::string openfluid::market::MarketPackage::m_MarketBagBinDir [static, protected]
std::string openfluid::market::MarketPackage::m_MarketBagSrcDir [static, protected]
std::string openfluid::market::MarketPackage::m_TempBuildsDir [static, protected]
std::string openfluid::market::MarketPackage::m_TempDir [static, protected]

Generated using Doxygen 1.7.3
Creative Commons License Creative Commons By-NC-ND license