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 
14 kBeginHeader()
15 
16 
25 //typedef kObject kAxAction; --forward-declared in kFsDef.x.h
26 
27 
36  kFsFx(const kChar*) kAxAction_Description(kType type);
37 
52 kFsFx(kStatus) kAxAction_Construct(kAxAction* action, kType type, const kChar* name, kActionTrigger trigger, kAxEnviron actionEnviron, kAlloc allocator);
53 
63 kFsFx(kStatus) kAxAction_Validate(kType type, kXml settings, kAlloc alloc);
64 
75 kFsFx(kStatus) kAxAction_Invoke(kAxAction action, kObject input, kObject* output, kAlloc alloc);
76 
84 kFsFx(const kChar*) kAxAction_Name(kAxAction action);
85 
94 
104 kFsFx(kXml) kAxAction_Settings(kAxAction action);
105 
120 kFsFx(kNode) kAxAction_Node(kAxAction action);
121 
129 kFsFx(kSystem) kAxAction_System(kAxAction action);
130 
131 kEndHeader()
132 
133 #include <kFireSync/Action/kAxAction.x.h>
134 
135 #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.
kNode kAxAction_Node(kAxAction action)
Gets a reference to a kNode object representing the local node.