X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/libsecurity_transform/lib/GroupTransform.h diff --git a/libsecurity_transform/lib/GroupTransform.h b/libsecurity_transform/lib/GroupTransform.h deleted file mode 100644 index 342c124d..00000000 --- a/libsecurity_transform/lib/GroupTransform.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef __GROUP_TRANSFORM__ -#define __GROUP_TRANSFORM__ - - -#include "Transform.h" -#include "TransformFactory.h" - -extern CFStringRef kSecGroupTransformType; - -class GroupTransform : public Transform -{ -protected: - std::string DebugDescription(); - virtual void FinalizePhase2(); - virtual bool validConnectionPoint(CFStringRef attributeName); - GroupTransform(); - CFMutableArrayRef mMembers; - dispatch_group_t mAllChildrenFinalized; - dispatch_group_t mPendingStartupActivity; - - void RecurseForAllNodes(dispatch_group_t group, CFErrorRef *errorOut, bool parallel, bool opExecutesOnGroups, Transform::TransformOperation op); - -public: - virtual ~GroupTransform(); - - static CFTypeRef Make(); - static TransformFactory* MakeTransformFactory(); - - static CFTypeID GetCFTypeID(); - - void AddMemberToGroup(SecTransformRef member); - void RemoveMemberFromGroup(SecTransformRef member); - bool HasMember(SecTransformRef member); - - void AddAllChildrenFinalizedCallback(dispatch_queue_t run_on, dispatch_block_t callback); - void ChildStartedFinalization(Transform *child); - - SecTransformRef FindFirstTransform(); // defined as the transform to which input is attached - SecTransformRef FindLastTransform(); // defined as the transform to which the monitor is attached - SecTransformRef FindMonitor(); - SecTransformRef GetAnyMember(); - - SecTransformRef FindByName(CFStringRef name); - - // A group should delay destruction while excution is starting - void StartingExecutionInGroup(); - void StartedExecutionInGroup(bool succesful); - - virtual CFDictionaryRef Externalize(CFErrorRef* error); - - CFErrorRef ForAllNodes(bool parallel, bool opExecutesOnGroups, Transform::TransformOperation op); - void ForAllNodesAsync(bool opExecutesOnGroups, dispatch_group_t group, Transform::TransformAsyncOperation op); - - CFStringRef DotForDebugging(); -}; - - - -#endif