ARC SDK
Public Member Functions | Data Fields

ApplicationEnvironment. More...

#include <arc/compute/ExecutionTarget.h>

Inheritance diagram for Arc::ApplicationEnvironment:
Arc::Software

Public Member Functions

 ApplicationEnvironment (const std::string &Name)
 
 ApplicationEnvironment (const std::string &Name, const std::string &Version)
 
ApplicationEnvironmentoperator= (const Software &sv)
 
- Public Member Functions inherited from Arc::Software
 Software ()
 Dummy constructor. More...
 
 Software (const std::string &name_version)
 Create a Software object. More...
 
 Software (const std::string &name, const std::string &version)
 Create a Software object. More...
 
 Software (const std::string &family, const std::string &name, const std::string &version)
 Create a Software object. More...
 
bool empty () const
 Indicates whether the object is empty. More...
 
bool operator== (const Software &sw) const
 Equality operator. More...
 
bool operator!= (const Software &sw) const
 Inequality operator. More...
 
bool operator> (const Software &sw) const
 Greater-than operator. More...
 
bool operator< (const Software &sw) const
 Less-than operator. More...
 
bool operator>= (const Software &sw) const
 Greater-than or equal operator. More...
 
bool operator<= (const Software &sw) const
 Less-than or equal operator. More...
 
std::string operator() () const
 Get string representation. More...
 
 operator std::string (void) const
 Cast to string. More...
 
const std::string & getFamily () const
 Get family. More...
 
const std::string & getName () const
 Get name. More...
 
const std::string & getVersion () const
 Get version. More...
 
const std::list< std::string > & getOptions () const
 
void addOption (const std::string &opt)
 
void addOptions (const std::list< std::string > &opts)
 

Data Fields

std::string State
 
int FreeSlots
 
int FreeJobs
 
int FreeUserSeats
 

Additional Inherited Members

- Public Types inherited from Arc::Software
enum  ComparisonOperatorEnum {
  NOTEQUAL = 0, EQUAL = 1, GREATERTHAN = 2, LESSTHAN = 3,
  GREATERTHANOREQUAL = 4, LESSTHANOREQUAL = 5
}
 Comparison operator enum. More...
 
typedef bool(Software::* ComparisonOperator) (const Software &) const
 Definition of a comparison operator method pointer. More...
 
- Static Public Member Functions inherited from Arc::Software
static ComparisonOperator convert (const ComparisonOperatorEnum &co)
 Convert a ComparisonOperatorEnum value to a comparison method pointer. More...
 
static std::string toString (ComparisonOperatorEnum co)
 Convert Software::ComparisonOperator to a string. More...
 
- Static Public Attributes inherited from Arc::Software
static const std::string VERSIONTOKENS
 Tokens used to split version string. More...
 

Detailed Description

ApplicationEnvironment.

The ApplicationEnviroment is closely related to the definition given in GLUE2. By extending the Software class the two GLUE2 attributes AppName and AppVersion are mapped to two private members. However these can be obtained through the inheriated member methods getName and getVersion.

GLUE2 description: A description of installed application software or software environment characteristics available within one or more Execution Environments.


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