|
ifw-ccf
3.0.0-pre2
|
Standard Centroiding Processing Recipe. More...
#include <recipeCentroid.hpp>
Public Member Functions | |
| RecipeCentroid (const std::string &proc_thread_name, const std::string &recipe_name) | |
| RecipeCentroid () | |
| virtual | ~RecipeCentroid () |
| virtual void | InitialiseUser () |
| Initialise the recipe object. See "Initialise()". More... | |
| virtual void | EnableUser () |
| virtual void | DisableUser () |
| virtual void | ProcessUser (ccf::common::DataFrame &frame) |
| User specific processing. More... | |
| virtual void | CreateObjectUser (const std::string &proc_thread_name, const std::string &recipe_name, std::shared_ptr< RecipeBase > &new_object) |
Public Member Functions inherited from ccf::common::RecipeBase | |
| RecipeBase (const std::string &proc_thread_name, const std::string &recipe_name) | |
| RecipeBase () | |
| virtual | ~RecipeBase () |
| void | Initialise () |
| Initalise the object. Invoked after creating a new object from the factory object. More... | |
| bool | GetInitialised () const |
| Return flag indicating if the recipe object has been initialised. More... | |
| const std::string & | GetRecipeId () const |
| Get the ID of the recipe. More... | |
| const std::string & | GetProcThreadName () const |
| Get the name of the Processing Thread, hosting the Recipe instance. More... | |
| const std::string & | GetRecipeName () const |
| Get the name of the recipe. More... | |
| const std::string & | GetDbPath () const |
| Generate DB path for this recipe. More... | |
| void | Process (DataFrame &frame) |
| Execute the processing of the given frame. More... | |
| void | Enable () |
| Enable the recipe so that it will be invoked by the Processing Thread to which it belongs. More... | |
| void | Disable () |
| bool | GetEnabled () const |
| Return the enabled status of the recipe. More... | |
| virtual void | CreateObjectUser (const std::string &proc_thread_name, const std::string &recipe_name, std::shared_ptr< RecipeBase > &new_object) |
| Instantiate a specific instance of the object. More... | |
| void | SetStatus (const ProcStatus status) |
| Update status for a given Publisher Thread in the OLDB. More... | |
| ProcStatus | GetStatus () const |
| Get status of the recipe object. More... | |
Public Member Functions inherited from ccf::Base | |
| Base () | |
| ~Base () | |
| const std::string & | GetClassName () const |
| Return the allocated name of the class. More... | |
| log4cplus::Logger & | Loggger () |
| Return reference to logger used in this context. More... | |
Public Attributes | |
| const std::string | SETUP_KEY_MAX_CENTRE_ERROR = "max_centre_error" |
| const std::string | SETUP_KEY_MAX_SIGMA_ERROR = "max_sigma_error" |
| const std::string | SETUP_KEY_ROBUSTNESS = "robustness" |
Protected Attributes | |
| bool | m_centroid_error |
| double | m_centre_intensity |
| cpl_size | m_window [4] |
| double | m_centre [2] |
| double | m_sigma [2] |
| double | m_centre_error [2] |
| double | m_sigma_error [2] |
| cpl_error_code | m_cpl_error |
Protected Attributes inherited from ccf::Base | |
| log4cplus::Logger | m_logger |
Additional Inherited Members | |
Static Public Member Functions inherited from ccf::common::RecipeBase | |
| static const std::string & | GenId (const std::string &proc_thread_name, const std::string &recipe_name) |
| Generate the ID for this recipe from the Processing Thread and Recipe number. More... | |
| template<class TYPE > | |
| static void | AddRecipeFactoryObj (TYPE &recipe_factory_obj) |
| Static method to register a Data Publisher factory object in the internal registry. More... | |
| static const std::map< std::string, std::shared_ptr< RecipeBase > > & | GetRecipeFactoryObjs () |
| Statis method to retrieve references to the Recipe Factory Objects. More... | |
| static void | CreateRecipeObj (const std::string &class_name, const std::string &proc_thread_name, const std::string &recipe_name, std::shared_ptr< RecipeBase > &new_obj) |
| static void | GetRecipeObj (const std::string &class_name, const std::string &proc_thread_name, std::shared_ptr< RecipeBase > &recipe_obj, const bool initialise=true) |
| static const std::map< std::string, std::shared_ptr< RecipeBase > > & | GetRecipeObjs () |
| Get reference to all Processing Recipe objects registered. More... | |
| static bool | HasRecipeObj (const std::string &class_name, const std::string &proc_thread_name, std::shared_ptr< RecipeBase > &recipe_obj) |
| Check if a Proc Recipe object is defined. More... | |
Static Public Member Functions inherited from ccf::Base | |
| static ccf::mptk::Manager & | Mptk () |
| Return reference to internal MPTK instance (singleton). More... | |
| static void | SetLogLevel (const ccf::LogLevel log_level) |
| Set the log level. More... | |
| static ccf::LogLevel | GetLogLevel () |
| Return the current CCF log level. More... | |
Protected Member Functions inherited from ccf::common::RecipeBase | |
| void | SetEnabled (const bool enabled) |
| Set the enabled status flag of the recipe object. More... | |
| void | DisableRecipe () |
| Disable the recipe so that it will not be invoked. More... | |
Protected Member Functions inherited from ccf::Base | |
| void | SetClassName (const std::string &class_name) |
| Set the name of the class in question. More... | |
| void | SetLogger (log4cplus::Logger &logger) |
| Set reference to logger used in this context. More... | |
Standard Centroiding Processing Recipe.
| ccf::stdrecipe::RecipeCentroid::RecipeCentroid | ( | const std::string & | proc_thread_name, |
| const std::string & | recipe_name | ||
| ) |
| ccf::stdrecipe::RecipeCentroid::RecipeCentroid | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Specific implement of disable method. Need normally not be implemented by the user.
Reimplemented from ccf::common::RecipeBase.
|
virtual |
Specific implement of enable method. Need normally not be implemented by the user.
Reimplemented from ccf::common::RecipeBase.
|
virtual |
Initialise the recipe object. See "Initialise()".
Reimplemented from ccf::common::RecipeBase.
|
virtual |
User specific processing.
Reimplemented from ccf::common::RecipeBase.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| const std::string ccf::stdrecipe::RecipeCentroid::SETUP_KEY_MAX_CENTRE_ERROR = "max_centre_error" |
| const std::string ccf::stdrecipe::RecipeCentroid::SETUP_KEY_MAX_SIGMA_ERROR = "max_sigma_error" |
| const std::string ccf::stdrecipe::RecipeCentroid::SETUP_KEY_ROBUSTNESS = "robustness" |