Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/libplanner/ drwxr-xr-x |
Viewing file: MrpTask.html (65.57 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Synopsis#include <libplanner/planner.h> MrpTaskPriv; MrpTask; MrpConstraint; enum MrpConstraintType; MrpTask* mrp_task_new (void); void mrp_task_set_name (MrpTask *task, const gchar *name); const gchar* mrp_task_get_name (MrpTask *task); MrpRelation* mrp_task_add_predecessor (MrpTask *task, MrpTask *predecessor, MrpRelationType type, glong lag, GError **error); void mrp_task_remove_predecessor (MrpTask *task, MrpTask *predecessor); MrpRelation* mrp_task_get_relation (MrpTask *task_a, MrpTask *task_b); MrpRelation* mrp_task_get_predecessor_relation (MrpTask *task, MrpTask *predecessor); MrpRelation* mrp_task_get_successor_relation (MrpTask *task, MrpTask *successor); GList* mrp_task_get_predecessor_relations (MrpTask *task); GList* mrp_task_get_successor_relations (MrpTask *task); gboolean mrp_task_has_relation_to (MrpTask *task_a, MrpTask *task_b); gboolean mrp_task_has_relation (MrpTask *task); MrpTask* mrp_task_get_parent (MrpTask *task); MrpTask* mrp_task_get_first_child (MrpTask *task); MrpTask* mrp_task_get_next_sibling (MrpTask *task); guint mrp_task_get_n_children (MrpTask *task); MrpTask* mrp_task_get_nth_child (MrpTask *task, guint n); gint mrp_task_get_position (MrpTask *task); mrptime mrp_task_get_start (MrpTask *task); mrptime mrp_task_get_work_start (MrpTask *task); mrptime mrp_task_get_finish (MrpTask *task); mrptime mrp_task_get_latest_start (MrpTask *task); mrptime mrp_task_get_latest_finish (MrpTask *task); gint mrp_task_get_duration (MrpTask *task); gint mrp_task_get_work (MrpTask *task); GList* mrp_task_get_assignments (MrpTask *task); MrpAssignment* mrp_task_get_assignment (MrpTask *task, MrpResource *resource); void mrp_task_reset_constraint (MrpTask *task); gfloat mrp_task_get_cost (MrpTask *task); GList* mrp_task_get_assigned_resources (MrpTask *task); gint mrp_task_compare (gconstpointer a, gconstpointer b); Properties"constraint" MrpConstraint : Read / Write "critical" gboolean : Read / Write "duration" gint : Read / Write "finish" glong : Read "latest-finish" glong : Read "latest-start" glong : Read "name" gchararray : Read / Write "note" gchararray : Read / Write "percent-complete" gint : Read / Write "priority" gint : Read / Write "sched" MrpTaskSched : Read / Write "start" glong : Read "type" MrpTaskType : Read / Write "work" gint : Read / Write Signals"assignment-added" void user_function (MrpTask *mrptask, MrpAssignment *arg1, gpointer user_data) : Run last "assignment-removed" void user_function (MrpTask *mrptask, MrpAssignment *arg1, gpointer user_data) : Run last "child-added" void user_function (MrpTask *mrptask, gpointer user_data) : Run last "child-removed" void user_function (MrpTask *mrptask, gpointer user_data) : Run last "relation-added" void user_function (MrpTask *mrptask, gpointer arg1, gpointer user_data) : Run last "relation-removed" void user_function (MrpTask *mrptask, gpointer arg1, gpointer user_data) : Run last "task-moved" void user_function (MrpTask *mrptask, MrpTask *arg1, gint arg2, gpointer user_data) : Run last DetailsMrpTaskPrivtypedef struct _MrpTaskPriv MrpTaskPriv; A private struct for internal use only. The definition of this structure is not publically available. MrpConstrainttypedef struct { MrpConstraintType type; mrptime time; } MrpConstraint; A struct representing a scheduling constraint on a task. enum MrpConstraintTypetypedef enum { MRP_CONSTRAINT_ASAP = 0, /* as-soon-as-possible */ MRP_CONSTRAINT_ALAP, /* as-late-as-possible */ MRP_CONSTRAINT_SNET, /* start-no-earlier-than */ MRP_CONSTRAINT_FNLT, /* finish-no-later-than */ MRP_CONSTRAINT_MSO, /* must-start-on */ } MrpConstraintType;
The type of constraint for the task. The default is mrp_task_new ()MrpTask* mrp_task_new (void); Create a new task.
mrp_task_set_name ()void mrp_task_set_name (MrpTask *task, const gchar *name);
Sets the name of
mrp_task_get_name ()const gchar* mrp_task_get_name (MrpTask *task);
Retrives the name of
mrp_task_add_predecessor ()MrpRelation* mrp_task_add_predecessor (MrpTask *task, MrpTask *predecessor, MrpRelationType type, glong lag, GError **error); Adds a predecessor task to a task. Depending on type, the predecessor must be started or finished before task can be started or finished, with an optional lag/lead time.
mrp_task_remove_predecessor ()void mrp_task_remove_predecessor (MrpTask *task, MrpTask *predecessor); Removes a predecessor previously added to task.
mrp_task_get_relation ()MrpRelation* mrp_task_get_relation (MrpTask *task_a, MrpTask *task_b); Fetches a relation between two tasks if it exists.
mrp_task_get_predecessor_relation ()MrpRelation* mrp_task_get_predecessor_relation (MrpTask *task, MrpTask *predecessor); Fetches a predecessor relation between task and it's predecessor.
mrp_task_get_successor_relation ()MrpRelation* mrp_task_get_successor_relation (MrpTask *task, MrpTask *successor); Fetches a successor relation between task and it's successor.
mrp_task_get_predecessor_relations ()GList* mrp_task_get_predecessor_relations (MrpTask *task);
Fetches a list of predecessor relations to
mrp_task_get_successor_relations ()GList* mrp_task_get_successor_relations (MrpTask *task);
Fetches a list of successor relations to
mrp_task_has_relation_to ()gboolean mrp_task_has_relation_to (MrpTask *task_a, MrpTask *task_b);
Checks if
mrp_task_has_relation ()gboolean mrp_task_has_relation (MrpTask *task); Checks if a task has any relations, i.e. predecessors or successors.
mrp_task_get_first_child ()MrpTask* mrp_task_get_first_child (MrpTask *task);
Fetches the first child of
mrp_task_get_next_sibling ()MrpTask* mrp_task_get_next_sibling (MrpTask *task);
Fetches the next sibling of
mrp_task_get_n_children ()guint mrp_task_get_n_children (MrpTask *task);
Fetches the number of children
mrp_task_get_nth_child ()MrpTask* mrp_task_get_nth_child (MrpTask *task, guint n);
Fetches the nth child of
mrp_task_get_position ()gint mrp_task_get_position (MrpTask *task);
Fetches the index or position of
mrp_task_get_start ()mrptime mrp_task_get_start (MrpTask *task);
Fetches the start time of
mrp_task_get_work_start ()mrptime mrp_task_get_work_start (MrpTask *task);
Retrieves the first time where work is performed of
mrp_task_get_finish ()mrptime mrp_task_get_finish (MrpTask *task);
Fetches the finish time of
mrp_task_get_latest_start ()mrptime mrp_task_get_latest_start (MrpTask *task);
Retrieves the latest start time of
mrp_task_get_latest_finish ()mrptime mrp_task_get_latest_finish (MrpTask *task);
Retrieves the latest finish time of
mrp_task_get_duration ()gint mrp_task_get_duration (MrpTask *task);
Fetches the duration of
mrp_task_get_work ()gint mrp_task_get_work (MrpTask *task);
Retrieves the amount of work of
mrp_task_get_assignments ()GList* mrp_task_get_assignments (MrpTask *task); Fetches a list of MrpAssignment.
mrp_task_get_assignment ()MrpAssignment* mrp_task_get_assignment (MrpTask *task, MrpResource *resource);
retrieves the MrpAssignment associated with
mrp_task_reset_constraint ()void mrp_task_reset_constraint (MrpTask *task);
Sets the contraint type to
mrp_task_get_cost ()gfloat mrp_task_get_cost (MrpTask *task);
Calculates the cost to complete
mrp_task_get_assigned_resources ()GList* mrp_task_get_assigned_resources (MrpTask *task);
Fetches a list of resources assigned to
mrp_task_compare ()gint mrp_task_compare (gconstpointer a, gconstpointer b);
Compares the name of the tasks, by calling
Property Details
The "
|
mrptask : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (MrpTask *mrptask, MrpAssignment *arg1, gpointer user_data) : Run last
mrptask : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (MrpTask *mrptask, gpointer user_data) : Run last
mrptask : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |
void user_function (MrpTask *mrptask, gpointer user_data) : Run last
mrptask : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |
void user_function (MrpTask *mrptask, gpointer arg1, gpointer user_data) : Run last
mrptask : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (MrpTask *mrptask, gpointer arg1, gpointer user_data) : Run last
mrptask : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0099 ]-- |