A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix doxygen comments.
[simgrid.git]
/
src
/
surf
/
workstation_interface.hpp
diff --git
a/src/surf/workstation_interface.hpp
b/src/surf/workstation_interface.hpp
index
297cf8f
..
0b59b94
100644
(file)
--- a/
src/surf/workstation_interface.hpp
+++ b/
src/surf/workstation_interface.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2004-201
3
. The SimGrid Team.
+/* Copyright (c) 2004-201
4
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-31,25
+31,25
@@
typedef WorkstationAction *WorkstationActionPtr;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after Workstation creation *
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after Workstation creation *
- * @detail Callback functions have the following signature: `void(WorkstationPtr)`
+ * @detail
s
Callback functions have the following signature: `void(WorkstationPtr)`
*/
extern surf_callback(void, WorkstationPtr) workstationCreatedCallbacks;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after Workstation destruction *
*/
extern surf_callback(void, WorkstationPtr) workstationCreatedCallbacks;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after Workstation destruction *
- * @detail Callback functions have the following signature: `void(WorkstationPtr)`
+ * @detail
s
Callback functions have the following signature: `void(WorkstationPtr)`
*/
extern surf_callback(void, WorkstationPtr) workstationDestructedCallbacks;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after Workstation State changed *
*/
extern surf_callback(void, WorkstationPtr) workstationDestructedCallbacks;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after Workstation State changed *
- * @detail Callback functions have the following signature: `void(WorkstationActionPtr)`
+ * @detail
s
Callback functions have the following signature: `void(WorkstationActionPtr)`
*/
extern surf_callback(void, WorkstationPtr) workstationStateChangedCallbacks;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after WorkstationAction State changed *
*/
extern surf_callback(void, WorkstationPtr) workstationStateChangedCallbacks;
/** @ingroup SURF_callbacks
* @brief Callbacks handler which emit the callbacks after WorkstationAction State changed *
- * @detail Callback functions have the following signature: `void(WorkstationActionPtr)`
+ * @detail
s
Callback functions have the following signature: `void(WorkstationActionPtr)`
*/
extern surf_callback(void, WorkstationActionPtr) workstationActionStateChangedCallbacks;
*/
extern surf_callback(void, WorkstationActionPtr) workstationActionStateChangedCallbacks;
@@
-107,17
+107,6
@@
public:
double *communication_amount,
double rate)=0;
double *communication_amount,
double rate)=0;
- /**
- * @brief [brief description]
- * @details [long description]
- *
- * @param src [description]
- * @param dst [description]
- *
- * @return [description]
- */
- virtual xbt_dynar_t getRoute(WorkstationPtr src, WorkstationPtr dst)=0;
-
/**
* @brief [brief description]
* @details [long description]
/**
* @brief [brief description]
* @details [long description]
@@
-257,17
+246,23
@@
public:
*
* @return The xbt_dict_t of mount_point: Storage
*/
*
* @return The xbt_dict_t of mount_point: Storage
*/
- virtual xbt_dict_t getStorageList();
+ virtual xbt_dict_t getMountedStorageList();
+
+ /**
+ * @brief Get the xbt_dynar_t of storages attached to the workstation
+ *
+ * @return The xbt_dynar_t of Storage names
+ */
+ virtual xbt_dynar_t getAttachedStorageList();
/**
* @brief Open a file
*
/**
* @brief Open a file
*
- * @param mount The mount point
- * @param path The path to the file
+ * @param fullpath The full path to the file
*
* @return The StorageAction corresponding to the opening
*/
*
* @return The StorageAction corresponding to the opening
*/
- virtual ActionPtr open(const char*
mount, const char*
path);
+ virtual ActionPtr open(const char*
full
path);
/**
* @brief Close a file
/**
* @brief Close a file
@@
-290,6
+285,7
@@
public:
* @brief List directory contents of a path
* @details [long description]
*
* @brief List directory contents of a path
* @details [long description]
*
+ * @param mount [description]
* @param path The path to the directory
* @return The StorageAction corresponding to the ls action
*/
* @param path The path to the directory
* @return The StorageAction corresponding to the ls action
*/
@@
-407,6
+403,7
@@
public:
/**********
* Action *
**********/
/**********
* Action *
**********/
+
/** @ingroup SURF_workstation_interface
* @brief SURF workstation action interface class
*/
/** @ingroup SURF_workstation_interface
* @brief SURF workstation action interface class
*/