repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
jivadevoe/RandomLib
NSTimer+Blocks.h
// // NSTimer+Blocks.h // // Created by <NAME> on 1/14/11. // Copyright 2011 Random Ideas, LLC. All rights reserved. // #import <Foundation/Foundation.h> /** Adds blocks to the NSTimer class. */ @interface NSTimer (Blocks) /// Creates and schedules an NSTimer specified to fire after the given time interval and whi...
jivadevoe/RandomLib
GUIDCategory.h
<filename>GUIDCategory.h // // GUIDCategory.h // // Created by <NAME> on 3/1/05. // Copyright 2005 Random Ideas, LLC. All rights reserved. // #if TARGET_OS_IPHONE // iPhone SDK #import <UIKit/UIKit.h> #else #import <Cocoa/Cocoa.h> #endif /** For whatever reason, I often have need to generate guids. I use them as ...
jivadevoe/RandomLib
FileDownloader.h
<gh_stars>1-10 // // FileDownloader.h // // Created by <NAME> on 3/15/10. // Copyright 2010 Random Ideas, LLC. All rights reserved. // #import <Foundation/Foundation.h> @class FileDownloader; /** The file downloader delegate specifies the methods that will be called by a file downloader when certain events occur ...
jivadevoe/RandomLib
NSFileManager+Utils.h
<filename>NSFileManager+Utils.h // // NSFileManager+Utils.h // // Created by <NAME> on 12/21/11. // Copyright (c) 2011 Random Ideas, LLC. All rights reserved. // #import <Foundation/Foundation.h> /** A collection of utilities related to specific filesystem paths. */ @interface NSFileManager (Utils) /// The users ...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/Engine.h
#pragma once #include <imogen_state/imogen_state.h> #include "Lead/LeadProcessor.h" #include "effects/PostHarmonyEffects.h" #include "effects/PreHarmonyEffects.h" namespace Imogen { template <typename SampleType> class Engine : public dsp::LatencyEngine<SampleType> { public: using AudioBuffer = juce::AudioBuffer<S...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/Lead/LeadProcessor.h
<reponame>farkmarnum/imogen #pragma once #include "PitchCorrector.h" #include "DryPanner.h" namespace Imogen { template <typename SampleType> class LeadProcessor { public: using AudioBuffer = juce::AudioBuffer<SampleType>; using Analyzer = dsp::psola::Analyzer<SampleType>; using Synth = dsp::SynthBase<Sampl...
farkmarnum/imogen
Source/modules/imogen_gui/Header/Header.h
#pragma once #include "InputIcon.h" #include "OutputLevel/OutputLevel.h" #include "ScaleChooser.h" #include "AboutPopup/LogoButton.h" #include "MidiSettings/KeyboardButton.h" namespace Imogen { class Header : public juce::Component { public: Header (State& stateToUse); private: void paint (juce::Graphics& g) fin...
farkmarnum/imogen
Source/modules/imogen_gui/CenterDial/CenterDial.h
<gh_stars>0 #pragma once namespace Imogen { class CenterDial : public juce::Component, public juce::SettableTooltipClient { public: CenterDial (State& stateToUse); void paint (juce::Graphics& g) override final; void resized() override final; bool hitTest (int x, int y) override final; bool keyPressed (const ...
farkmarnum/imogen
Source/modules/imogen_state/state/sublists/ReverbState.h
#pragma once namespace Imogen { struct ReverbState { ReverbState (plugin::ParameterList& list); ToggleParam reverbToggle { "Reverb toggle", false }; PercentParam reverbDryWet { "Reverb mix", 15 }; PercentParam reverbDecay { "Reverb decay", 60 }; PercentParam reverbDuck { "Reverb duck", 30 }; HzParam reverbLo...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/Lead/DryPanner.h
<filename>Source/modules/imogen_dsp/Engine/Lead/DryPanner.h #pragma once namespace Imogen { template <typename SampleType> struct DryPanner { using AudioBuffer = juce::AudioBuffer<SampleType>; DryPanner (Parameters& params); void process (const AudioBuffer& monoIn, AudioBuffer& stereoOut, bool bypassed); void p...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PreHarmony/StereoReducer.h
#pragma once namespace Imogen { template <typename SampleType> struct StereoReducer { using AudioBuffer = juce::AudioBuffer<SampleType>; StereoReducer (Parameters& params); void process (const AudioBuffer& stereoInput, AudioBuffer& monoOutput); void prepare (double samplerate, int blocksize); private: Parame...
farkmarnum/imogen
Source/modules/imogen_gui/GUI/GUI.h
<filename>Source/modules/imogen_gui/GUI/GUI.h #pragma once #include <lemons_plugin_gui/lemons_plugin_gui.h> #include <imogen_state/imogen_state.h> #include <imogen_gui/Header/Header.h> #include <imogen_gui/CenterDial/CenterDial.h> #include <imogen_gui/MidiKeyboard/MidiKeyboard.h> #include <imogen_gui/DryWet/DryWet.h>...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PreHarmonyEffects.h
<reponame>farkmarnum/imogen<gh_stars>0 #pragma once namespace Imogen { template <typename SampleType> class PreHarmonyEffects { public: using AudioBuffer = juce::AudioBuffer<SampleType>; PreHarmonyEffects (State& stateToUse); void prepare (double samplerate, int blocksize); void process (const AudioBuffer& inp...
farkmarnum/imogen
Source/modules/imogen_gui/GUI/Remote.h
#pragma once namespace Imogen { class Remote : public juce::Component { public: Remote(); ~Remote() override; private: void paint (juce::Graphics&) final; void resized() final; plugin::PluginState<State> state; GUI gui { state }; // network::OscDataSynchronizer dataSync {state}; }; } // namespace Imogen...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PostHarmony/EQ.h
<filename>Source/modules/imogen_dsp/Engine/effects/PostHarmony/EQ.h<gh_stars>0 #pragma once namespace Imogen { template <typename SampleType> struct EQ { using AudioBuffer = juce::AudioBuffer<SampleType>; EQ (EQState& params); void process (AudioBuffer& dry, AudioBuffer& wet); void prepare (double samplerate, ...
farkmarnum/imogen
Source/modules/imogen_state/state/Internals.h
#pragma once namespace Imogen { struct Internals { void addToList (plugin::ParameterList& list); ToggleParam abletonLinkEnabled { "Ableton link toggle", false }; IntParam abletonLinkSessionPeers { 0, 50, 0, "Ableton link num session peers", [] (int value, int maximumStringLength) { return...
farkmarnum/imogen
Source/modules/imogen_gui/Header/AboutPopup/AboutPopup.h
<reponame>farkmarnum/imogen<filename>Source/modules/imogen_gui/Header/AboutPopup/AboutPopup.h #pragma once namespace Imogen { struct AboutPopup : public gui::PopupComponent { using PopupComponent::PopupComponent; void resizeTriggered() final; }; } // namespace Imogen
farkmarnum/imogen
Source/modules/imogen_gui/Header/OutputLevel/Thumb.h
namespace Imogen { class OutputLevelThumb : public juce::Component { public: OutputLevelThumb (Parameters& paramsToUse); private: void paint (juce::Graphics& g) final; void resized() final; Parameters& params; plugin::GainParameter& outputGain { *params.outputGain }; }; } // namespace Imogen
farkmarnum/imogen
Source/modules/imogen_state/state/Meters.h
#pragma once namespace Imogen { struct Meters { void addToList (plugin::ParameterList& list); GainMeter inputLevel { "Input level", inputMeter }; GainMeter outputLevelL { "Output level (L)", outputMeter }; GainMeter outputLevelR { "Output level (R)", outputMeter }; GainMeter gateRedux { "Noise gate gain redu...
farkmarnum/imogen
Source/modules/imogen_gui/Header/InputIcon.h
#pragma once namespace Imogen { class InputIcon : public juce::Component { public: InputIcon (State& stateToUse); private: void paint (juce::Graphics& g) final; void resized() final; State& state; plugin::GainMeterParameter& inputMeter { *state.meters.inputLevel }; plugin::GainParameter& inputGain { *state...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PostHarmony/Reverb.h
<gh_stars>0 #pragma once namespace Imogen { template <typename SampleType> struct Reverb { using AudioBuffer = juce::AudioBuffer<SampleType>; Reverb (State& stateToUse); void process (AudioBuffer& audio); void prepare (double samplerate, int blocksize); void setWidth (float width); private: State& state;...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PostHarmony/DryWetMixer.h
<reponame>farkmarnum/imogen<gh_stars>0 #pragma once namespace Imogen { template <typename SampleType> struct DryWetMixer { using AudioBuffer = juce::AudioBuffer<SampleType>; DryWetMixer (Parameters& params); void process (AudioBuffer& dry, AudioBuffer& wet); void prepare (double samplerate, int blocksize); pri...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PostHarmony/Delay.h
#pragma once namespace Imogen { template <typename SampleType> struct Delay { using AudioBuffer = juce::AudioBuffer<SampleType>; Delay (State& stateToUse); void process (AudioBuffer& audio); void prepare (double samplerate, int blocksize); private: State& state; Parameters& parameters { state.parameters };...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/Harmonizer/HarmonizerVoice.h
#pragma once namespace Imogen { using namespace lemons; template <typename SampleType> class Harmonizer; // forward declaration... template <typename SampleType> class HarmonizerVoice : public dsp::SynthVoiceBase<SampleType> { using AudioBuffer = juce::AudioBuffer<SampleType>; public: HarmonizerVoice (Harmon...
farkmarnum/imogen
Source/modules/imogen_state/state/Parameters.h
<filename>Source/modules/imogen_state/state/Parameters.h #pragma once #include "sublists/EQState.h" #include "sublists/ReverbState.h" #include "sublists/MidiState.h" namespace Imogen { struct Parameters : plugin::ParameterList { Parameters(); IntParam inputMode { 1, 3, 1, "Input source", [] (int value, int...
farkmarnum/imogen
Source/modules/imogen_dsp/Processor/Processor.h
<gh_stars>0 #pragma once #include <imogen_dsp/Engine/Engine.h> namespace Imogen { class Processor : public plugin::Processor<State, Engine> { public: Processor(); private: bool canAddBus (bool isInput) const override final { return isInput; } bool isBusesLayoutSupported (const BusesLayout& layouts) const final...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PostHarmony/OutputGain.h
<reponame>farkmarnum/imogen #pragma once namespace Imogen { template <typename SampleType> struct OutputGain { using AudioBuffer = juce::AudioBuffer<SampleType>; OutputGain (Parameters& params); void process (AudioBuffer& audio); void prepare (double samplerate, int blocksize); private: Parameters& parameter...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/effects/PostHarmonyEffects.h
#pragma once #include <lemons_audio_effects/lemons_audio_effects.h> #include "PreHarmony/StereoReducer.h" #include "PreHarmony/InputGain.h" #include "PreHarmony/NoiseGate.h" #include "PostHarmony/EQ.h" #include "PostHarmony/Compressor.h" #include "PostHarmony/DeEsser.h" #include "PostHarmony/DryWetMixer.h" #include ...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/Lead/PitchCorrector.h
#pragma once #include <imogen_dsp/Engine/Harmonizer/Harmonizer.h> namespace Imogen { template <typename SampleType> class PitchCorrection : public dsp::psola::PitchCorrectorBase<SampleType> { public: using AudioBuffer = juce::AudioBuffer<SampleType>; using Base = dsp::psola::PitchCorrectorBase<SampleType>; Pi...
farkmarnum/imogen
Source/modules/imogen_state/state/State.h
<reponame>farkmarnum/imogen #pragma once #include "Parameters.h" #include "Meters.h" #include "Internals.h" namespace Imogen { struct CustomStateData : SerializableData { private: void serialize (TreeReflector& ref) final; }; struct State : plugin::CustomState<Parameters, CustomStateData> { State(); Internals...
farkmarnum/imogen
Source/modules/imogen_gui/Header/MidiSettings/KeyboardButton.h
<reponame>farkmarnum/imogen #pragma once #include "MidiSettingsPopup.h" namespace Imogen { class KeyboardButton : public juce::Component { public: KeyboardButton(); private: gui::Popup<MidiSettingsPopup> popup; }; } // namespace Imogen
farkmarnum/imogen
Source/modules/imogen_gui/Header/AboutPopup/LogoButton.h
#pragma once #include "AboutPopup.h" namespace Imogen { class LogoButton : public juce::Component { public: LogoButton(); private: void resized() final; void createAboutWindow(); gui::TextButton button { "Imogen", [&] { createAboutWindow(); } }; gui::Popup<AboutPopup> aboutWindow; }; } // namespac...
farkmarnum/imogen
Source/modules/imogen_dsp/Engine/Harmonizer/Harmonizer.h
<filename>Source/modules/imogen_dsp/Engine/Harmonizer/Harmonizer.h<gh_stars>0 #pragma once #include <lemons_synth/lemons_synth.h> #include <lemons_psola/lemons_psola.h> #include "HarmonizerVoice.h" namespace Imogen { template <typename SampleType> class Harmonizer : public dsp::LambdaSynth<SampleType> { using Aud...
farkmarnum/imogen
Source/modules/imogen_state/state/sublists/EQState.h
<gh_stars>0 #pragma once namespace Imogen { struct EQState { EQState (plugin::ParameterList& list); ToggleParam eqToggle { "EQ toggle", false }; HzParam eqLowShelfFreq { "EQ low shelf freq", 80.f }; FloatParam eqLowShelfQ { 0.01f, 10.f, 0.707f, "EQ low shelf Q" }; FloatParam eqLowShelfGain { 0.f, 4.f, 1.f, "...
mr-eyes/guidedPartitioner
lib/sqlite3pp/sqlite3pp.h
<reponame>mr-eyes/guidedPartitioner<gh_stars>0 // sqlite3pp.h // // The MIT License // // Copyright (c) 2015 <NAME> (iwongu at gmail dot com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Soft...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/NativeViewMenuNavigationViewController.h
#import <UIKit/UIKit.h> /** The native view menu navigation controller */ @interface NativeViewMenuNavigationViewController : UINavigationController -(id)initWithTitle:(NSString*)title andImage:(UIImage*)image; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ScrollingViewController.h
<gh_stars>0 #import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * Scrolling view controller */ @interface ScrollingViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/PopOverViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A popover notification */ @interface PopOverViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/NativeViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * Main view controller for the native view * * Creates the navigation across all of the different native view controllers * */ @interface NativeViewController : QLBaseViewController <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> @en...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ContactAddButtonViewController.h
<filename>QLReferenceApp/ContactAddButtonViewController.h #import "InputBaseControlViewController.h" /** * A add contact controller */ @interface ContactAddButtonViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ElementsTableViewController.h
#import <UIKit/UIKit.h> /** * A table list view controller */ @interface ElementsTableViewController : UITableViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ImageGalleryCollectionViewCell.h
#import <UIKit/UIKit.h> /** Image gallery view controller cell that contains a image view */ @interface ImageGalleryCollectionViewCell : UICollectionViewCell @property UIImageView *imageView; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/UIColor+ColorExtension.h
#import <UIKit/UIKit.h> /** * A convience class that returns app specific colours */ @interface UIColor (ColorExtension) + (UIColor*)flatOrange; + (UIColor*)flatYellow; + (UIColor*)flatGray; + (UIColor*)flatLightGray; + (UIColor*)flatDarkGray; + (UIColor*)flatOffWhite; + (UIColor*)flatDarkOffWhite; + (UIColor*)flat...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/DatePickerViewController.h
#import "InputBaseControlViewController.h" /** * A date picker controller */ @interface DatePickerViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ModalViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios #import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A modal type notification */ @interface ModalViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/HomePageViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios #import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A static homepage for the app * * Contains the app name and version number */ @interface HomePageViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/UIFont+FontExtension.h
<filename>QLReferenceApp/UIFont+FontExtension.h #import <UIKit/UIKit.h> /** * A convenience class for a uniform font style/size within the app */ @interface UIFont (FontExtension) FOUNDATION_EXPORT NSString *const DEFAULT_FONT_NAME; FOUNDATION_EXPORT NSString *const DEFAULT_BOLD_NAME; + (UIFont*)defaultFontAtSize:...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/WebViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios<filename>QLReferenceApp/WebViewController.h #import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A controller to test a web view */ @interface WebViewController : QLBaseViewController <UIWebViewDelegate> -(id)initWithURL:(NSURL*)url; -(id)initW...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/CustomWebSitePickerViewController.h
#import "QLBaseViewController.h" /** * A web site picker to navigate a specific web url */ @interface CustomWebSitePickerViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/LabelsViewController.h
<filename>QLReferenceApp/LabelsViewController.h #import "InputBaseControlViewController.h" /** * A controller for labels */ @interface LabelsViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/FirstViewController.h
<filename>QLReferenceApp/FirstViewController.h<gh_stars>0 #import <UIKit/UIKit.h> #import "NestedViewBase.h" @interface FirstViewController : NestedViewBase @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/FourthViewController.h
#import <UIKit/UIKit.h> #import "NestedViewBase.h" @interface FourthViewController : NestedViewBase @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/InputTextFieldViewController.h
<filename>QLReferenceApp/InputTextFieldViewController.h #import "InputBaseControlViewController.h" /** * A controller for a input field */ @interface InputTextFieldViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/MediaPlayerViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A video playing view controller */ @interface MediaPlayerViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ThirdViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios #import <UIKit/UIKit.h> #import "NestedViewBase.h" @interface ThirdViewController : NestedViewBase @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/RefreshControlViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios #import "InputBaseControlViewController.h" /** * A controller for a refresh control view controller */ @interface RefreshControlViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/NestedViewBase.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * The nested view base controller */ @interface NestedViewBase : QLBaseViewController -(id)initWithTitle:(NSString *)title andImage:(UIImage *)image andText:(NSString*)text andIsLast:(BOOL)last; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/MainTabBarViewController.h
<filename>QLReferenceApp/MainTabBarViewController.h #import <UIKit/UIKit.h> /** * The main tab bar navigation across the app. */ @interface MainTabBarViewController : UITabBarController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ScrollOutOfViewViewController.h
<gh_stars>0 #import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * Scroll out of view view controller */ @interface ScrollOutOfViewViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/LogInViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * The controller for the login view */ @interface LogInViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/QLBaseViewController.h
<filename>QLReferenceApp/QLBaseViewController.h #import <UIKit/UIKit.h> #import "UIColor+ColorExtension.h" #import "UIFont+FontExtension.h" /** * A base controller for the view controllers within the app. * * Contains app specific defaults and convienience methods */ @interface QLBaseViewController : UIViewContro...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/NotificationsViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * View notification controller */ @interface NotificationsViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/NativeViewCollectionViewCell.h
#import <UIKit/UIKit.h> /** The cell for the native navigation */ @interface NativeViewCollectionViewCell : UICollectionViewCell @property UILabel *cellTitle; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/InputControlsPageViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * The page control for the input controls */ @interface InputControlsPageViewController : QLBaseViewController <UIPageViewControllerDataSource> @property (strong, nonatomic) UIPageViewController *pageController; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/SubmitButtonViewController.h
<filename>QLReferenceApp/SubmitButtonViewController.h<gh_stars>0 #import "InputBaseControlViewController.h" /** * The submit button (changes the buttons color when pressed) */ @interface SubmitButtonViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/SwitchViewController.h
#import "InputBaseControlViewController.h" /** * A controller for a switch control */ @interface SwitchViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/TextViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios<filename>QLReferenceApp/TextViewController.h #import "InputBaseControlViewController.h" /** * A text input controller */ @interface TextViewController : InputBaseControlViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/ImageGalleryViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * Loads pictures from the specified directory */ @interface ImageGalleryViewController : QLBaseViewController <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/CustomWebSiteNavigationViewController.h
<reponame>Qualifylabs/qualify-device-cloud-sample-app-for-ios #import <UIKit/UIKit.h> /** A controller to navigate to a specific web url */ @interface CustomWebSiteNavigationViewController : UINavigationController -(id)initWithTitle:(NSString*)title andImage:(UIImage*)image; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/GesturesViewController.h
<gh_stars>0 #import "InputBaseControlViewController.h" /** * A gesture controller using a image */ @interface GesturesViewController : InputBaseControlViewController <UIGestureRecognizerDelegate> -(IBAction)handlePanGesture:(UIPanGestureRecognizer*)recognizer; -(IBAction)handlePinchGesture:(UIPinchGestureRecognizer...
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/DataPickerViewController.h
#import "InputBaseControlViewController.h" /** * The data picker controller */ @interface DataPickerViewController : InputBaseControlViewController <UIPickerViewDataSource, UIPickerViewDelegate> @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/CrashViewController.h
#import "QLBaseViewController.h" /** * A controller for the crash page * * Used to test fuzz testing and to handle expected errors. * */ @interface CrashViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/NestedNavigationViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * The nested view base controller */ @interface NestedNavigationViewController : UINavigationController -(id)initWithTitle:(NSString*)title andImage:(UIImage*)image; @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/CameraViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A camera view controller */ @interface CameraViewController : QLBaseViewController @end
Qualifylabs/qualify-device-cloud-sample-app-for-ios
QLReferenceApp/InputBaseControlViewController.h
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A base for the input page controller containing the index of the page */ @interface InputBaseControlViewController : QLBaseViewController @property NSUInteger pageIndex; @end
avkghost/schoolMIPS
program/10_ahb_gpio/main.c
#define SIMULATION 0 #define HARDWARE 1 // config start #define RUNTYPE SIMULATION // config end #if RUNTYPE == SIMULATION #define DELAY_VALUE 20 #elif RUNTYPE == HARDWARE #define DELAY_VALUE (10*1024*1024) #endif // GPIO peripharal registers #define SM_GPIO_KEYS_ADDR 0x40000000 #de...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/relations/include/ImageRangeRelation.h
#ifndef IMAGE_RANGE_RELATION_H #define IMAGE_RANGE_RELATION_H #include "Relationship.h" namespace eod{ enum IM_RANGE_REL_SUBTYPE{ PURE_PIXEL, IM_DIAG_RELATIVE, OBJ_DIAG_RELATIVE, }; class ImageRangeRelation : public RelationShip{ public: ImageRangeRela...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/TensorFlowDetector.h
<reponame>Extended-Object-Detection-ROS/extended_object_detection<gh_stars>10-100 // // Used as reference https://github.com/lysukhin/tensorflow-object-detection-cpp #ifndef _TF_DETECT_ #define _TF_DETECT_ #include "Attribute.h" #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/image_ops.h" #includ...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/ArucoDetector.h
<gh_stars>10-100 #ifndef _ARUCO_DETECTOR_ #define _ARUCO_DETECTOR_ #include <opencv2/aruco.hpp> #include <map> #include "ObjectIdentifier.h" namespace eod{ class GlobalArucoDetector{ public: GlobalArucoDetector(cv::aruco::PREDEFINED_DICTIONARY_NAME dict); std::vector<Ext...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/DimentionDetector.h
<filename>src/lib/detectors/include/DimentionDetector.h #ifndef _DIMENTION_DETECT_ #define _DIMENTION_DETECT_ #include "Attribute.h" namespace eod{ class DimentionAttribute : public Attribute{ public: /// <summary> /// Default constructor /// </summary> DimentionAttribute();...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/types/include/Clusterization.h
<gh_stars>10-100 #ifndef _CLUSTERIZATION_H_ #define _CLUSTERIZATION_H_ #include "ExtendedObjectInfo.h" namespace eod{ enum ClusterizationType{ UNK_C, FOREL_C, }; ClusterizationType getClusterizationTypeFromName(std::string name); // clusterization interface class...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/BasicMotionDetector.h
<gh_stars>10-100 #ifndef _BASIC_MOTION_DETECTOR_ #define _BASIC_MOTION_DETECTOR_ #include "Attribute.h" #define BLUR_KER 21 namespace eod{ //#define SCREEN_OUTPUT_BASIC class BasicMotionAttribute : public Attribute{ public: /// <summary> /// Default constructor, inits checkProbs at 0.75 an...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/FeatureDetector.h
<reponame>Extended-Object-Detection-ROS/extended_object_detection /* Project: Object detection Library Descr: feature detector (SIFT, SURF and so on) Author: <NAME> */ #ifndef _FEATURE_DETECTOR_ #define _FEATURE_DETECTOR_ #include <opencv2/features2d/features2d.hpp> #include <opencv2/xfeatures2d.hpp> #include "Objec...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/HistColorDetector.h
<reponame>Extended-Object-Detection-ROS/extended_object_detection #ifndef _HIST_COLOR_DETECT_ #define _HIST_COLOR_DETECT_ #include "Attribute.h" namespace eod{ /// <summary> /// Loads histogram from given YAML file /// </summary> /// <param name="filename">Path to YAML file with histogramm</param> /// <...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/BlobDetector.h
<filename>src/lib/detectors/include/BlobDetector.h /* Project: Extended Object Detection Library Author: <NAME> File: OpenCV blobdetector interface */ #ifndef _BLOB_DETECTOR_ #define _BLOB_DETECTOR_ #include "Attribute.h" namespace eod{ class BlobAttribute : public Attribute { public: B...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/types/include/Tracker.h
#ifndef _TRACKER_ #define _TRACKER_ #include "SimpleObject.h" #include <opencv2/tracking.hpp> #include <opencv2/core/ocl.hpp> namespace eod{ enum TrackStatus{ DETECTED=0, TRACKED, LOST }; class Track { public: int id; ExtendedObjectInfo current_object;...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/HsvColorDetector.h
/* Project: Object detection Library Descr: header describes color attributes and detection Author: <NAME> */ #ifndef _HSV_COLOR_DETECTOR_ #define _HSV_COLOR_DETECTOR_ //#include "ClusterForel.h" #include "ObjectIdentifier.h" namespace eod{ //#define SCREEN_OUTPUT_COLOR #define WHITE 0,255,0,15,240...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/types/include/SimpleObject.h
<filename>src/lib/types/include/SimpleObject.h #ifndef _SIMPLE_OBJECT_ #define _SIMPLE_OBJECT_ #include "ExtendedObjectInfo.h" #include "Attribute.h" #include <utility> namespace eod{ enum IdentifyMode { HARD, SOFT }; /// <summary> /// Class SimpleObject /// </summary...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/utils/include/drawing_utils.h
#ifndef _DRAWING_UTILS_ #define _DRAWING_UTILS_ #include <opencv2/opencv.hpp> namespace eod{ void drawTransparentRectangle(cv::Mat image, cv::Rect rectange, cv::Scalar col, double alpha); cv::Point drawFilledRectangleWithText(cv::Mat image, cv::Point topleft, std::string text, cv::Scalar col); ...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/DepthDetector.h
#ifndef _DEPTH_ATTRIBUTE_ #define _DEPTH_ATTRIBUTE_ #include "Attribute.h" namespace eod{ class DepthAttribute : public Attribute{ public: DepthAttribute(); DepthAttribute(double depth_scale); std::vector<ExtendedObjectInfo> Detect2(const cv:...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/relations/include/ThreeDimRangeRelation.h
#ifndef TD_RANGE_RELATION_H #define TD_RANGE_RELATION_H #include "Relationship.h" namespace eod{ enum THREE_DIM_RANGE_REL_SUBTYPE{ PURE_METERS, //OBJ_DIAG_RELATIVE, //rename }; class ThreeDimRangeRelation : public RelationShip{ public: ThreeDimRangeRelation(); ...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/utils/include/contour_utils.h
#ifndef _CONTOUR_UTILS_ #define _CONTOUR_UTILS_ #include <opencv2/opencv.hpp> #include <vector> namespace eod{ std::vector< cv::Point> shift_contour(std::vector <cv::Point> &contour, cv::Point); std::vector< cv::Point> merge_contours(std::vector <cv::Point>& contour1, std::vector <cv::Point>& contou...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/relations/include/SpaceRelations.h
#ifndef SPACERELATIONS_H #define SPACERELATIONS_H #include "Relationship.h" namespace eod{ // In class SpaceInRelation : public RelationShip{ public: SpaceInRelation(); bool checkRelation(const cv::Mat& image, ExtendedObjectInfo* A, ExtendedObjectInfo* B); }; // Out c...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/QrDetector.h
<gh_stars>10-100 #ifndef _QR_ATTRIBUTE_ #define _QR_ATTRIBUTE_ #include "Attribute.h" namespace eod{ class QrAttribute : public Attribute{ public: QrAttribute(); std::vector<ExtendedObjectInfo> Detect2(const cv::Mat& image, int seq); bool Check2(const cv::Mat& im...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/DistanceDetector.h
#ifndef _DISTANCE_DETECT_ #define _DISTANCE_DETECT_ #include "Attribute.h" namespace eod{ class DistanceAttribute : public Attribute{ public: /// <summary> /// Default constructor /// </summary> DistanceAttribute(); /// <summary> /// Detects OK areas with give...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/relations/include/LogicRelations.h
<reponame>Extended-Object-Detection-ROS/extended_object_detection<gh_stars>10-100 #ifndef LOGICRELATIONS_H #define LOGICRELATIONS_H #include "Relationship.h" namespace eod{ class AndRelation : public RelationShip{ public: AndRelation(); AndRelation(RelationShip* r1, RelationShip* r2); ...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/SimpleShapeDetector.h
/* Project: Object detection Library Author: <NAME> File: Header file describes classes of simple shape detection (squares and circles) */ #ifndef _SIMPLE_SHAPE_DETECTOR_H #define _SIMPLE_SHAPE_DETECTOR_H #include "ObjectIdentifier.h" using namespace cv; namespace eod{ enum SIMPLE_SHAPES { RECT = 0, CIRCLE = ...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/include/ObjectBase.h
/* Project: Object detection Library Author: <NAME> File: Class realises loading simple_simple_objects parameters from XML file */ #ifndef _OBJECT_BASE_ #define _OBJECT_BASE_ #include "tinyxml.h" #include "ObjectIdentifier.h" // DETECTORS #include "HsvColorDetector.h" #include "HaarCascadeDetector.h"...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/RoughDistanceDetector.h
#ifndef _ROUGH_DIST_DETECTOR_ #define _ROUGH_DIST_DETECTOR_ #include "Attribute.h" namespace eod{ class RoughDistAttribute : public Attribute{ public: /// <summary> /// Empty constructor /// </summary> RoughDistAttribute(); /// <summary> /// Сonst...
Extended-Object-Detection-ROS/extended_object_detection
src/lib/detectors/include/HaarCascadeDetector.h
/* Project: Extended Object Detection Library Author: <NAME> File: OpenCV cascade classifier interface */ #ifndef _SHAPE_DETECTOR_ #define _SHAPE_DETECTOR_ #include "ObjectIdentifier.h" //#include <opencv\cvwimage.h> namespace eod{ class HaarCascadeAttribute : public Attribute { public: ...