FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kAxAction.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_AX_ACTION_H
9 #define K_FIRESYNC_AX_ACTION_H
10 
11 #include <kFireSync/kFsDef.h>
12 #include <kFireSync/kNodeDef.h>
13 
23 //typedef kObject kAxAction; --forward-declared in kFsDef.x.h
24 
34  kFsFx(const kChar*) kAxAction_Description(kType type);
35 
50 kFsFx(kStatus) kAxAction_Construct(kAxAction* action, kType type, const kChar* name, kActionTrigger trigger, kAxEnviron actionEnviron, kAlloc allocator);
51 
61 kFsFx(kStatus) kAxAction_Validate(kType type, kXml settings, kAlloc alloc);
62 
73 kFsFx(kStatus) kAxAction_Invoke(kAxAction action, kObject input, kObject* output, kAlloc alloc);
74 
82 kFsFx(const kChar*) kAxAction_Name(kAxAction action);
83 
92 
102 kFsFx(kXml) kAxAction_Settings(kAxAction action);
103 
118 kFsFx(kNode) kAxAction_Node(kAxAction action);
119 
131 kFsFx(kSystem) kAxAction_System(kAxAction action);
132 
143 kFsFx(kPointer) kAxAction_App(kAxAction action);
144 
145 #include <kFireSync/Action/kAxAction.x.h>
146 
147 #endif
Abstract base class for action implementations.
kActionTrigger kAxAction_Trigger(kAxAction action)
Gets the action trigger source.
kStatus kAxAction_Invoke(kAxAction action, kObject input, kObject *output, kAlloc alloc)
Virtual method that can be overridden to perform custom processing when action is invoked...
kSystem kAxAction_System(kAxAction action)
Gets a reference to a kSystem object representing the collection of discovered nodes.
kXml kAxAction_Settings(kAxAction action)
Returns the action's settings.
Represents an action trigger type.
Essential declarations related to FireSync nodes.
Represents a FireSync node (sensor).
Essential API declarations for the kFireSync library.
kStatus kAxAction_Validate(kType type, kXml settings, kAlloc alloc)
Virtual method that can be overridden to perform XML settings validation.
const kChar * kAxAction_Description(kType type)
Given a kAxAction subclass type, gets a description of the class.
Represents a collection of FireSync nodes (sensors).
Represents an object that provides external services to an activity object.
kStatus kAxAction_Construct(kAxAction *action, kType type, const kChar *name, kActionTrigger trigger, kAxEnviron actionEnviron, kAlloc allocator)
Factory constructor for action objects.
const kChar * kAxAction_Name(kAxAction action)
Gets a descriptive name for the action instance.
kPointer kAxAction_App(kAxAction action)
For actions that are run in server context, gets a reference to the local application object (if set)...
kNode kAxAction_Node(kAxAction action)
Gets a reference to a kNode object representing the local node.