Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/include/CLAM/ |
Current File : //proc/self/root/usr/include/CLAM/InControlPublisher.hxx |
#ifndef _INCONTROL_PUBLISHER_HXX_ #define _INCONTROL_PUBLISHER_HXX_ #include "InControl.hxx" #include <string> // TODO: Refactoring... // Extract common interface from InControlPublisher, InControl and create a common base class namespace CLAM { class InControlPublisher : public FloatInControl { FloatInControl* mPublished; //TODO should be a list, in the future public: InControlPublisher() : FloatInControl( "InControlPublisher", 0 ) { mPublished=NULL; } InControlPublisher( const std::string& name, Processing* father ) : FloatInControl( name, father ) { mPublished=NULL; } void PublishInControl( FloatInControl& in ) { mPublished = ∈ } void DoControl(const TControlData & val) { if(mPublished) mPublished->DoControl(val); else FloatInControl::DoControl(val); } const TControlData& GetLastValue() const { if(mPublished) return mPublished->GetLastValue(); return mLastValue; } }; } // namespace CLAM #endif
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare