|
| | Block (std::string name, bool isOneShot, BlockType typeExec=synchrone, bool addInputParam=false) |
| |
|
virtual | ~Block () |
| | The derived block may want a personalized destructor...
|
| |
|
std::string | getName () |
| |
|
BlockType | getTypeExec () |
| |
|
void | operator() () |
| |
|
virtual bool | run (bool oneShot=false)=0 |
| |
|
bool | hasDynamicParams () const |
| |
| ParamValue * | addNewInput (ParamDefinition *param) |
| |
| ParamValue * | addNewOutput (ParamDefinition *param) |
| |
|
virtual void | init () |
| |
|
virtual void | release () |
| |
|
void | markAsUnprocessed () |
| | Use this function to reset state of process (mark every input/output as old)
|
| |
|
ParamDefinition * | getParamDefinition (std::string nameOfParam, bool isInput) |
| |
|
const ParamDefinition * | getParamDefinition (std::string nameOfParam, bool isInput) const |
| |
|
bool | paramDefinitionExist (std::string nameOfParam, bool isInput) |
| |
|
std::string | getCurrentPreview () const |
| |
|
void | setCurrentPreview (std::string val) |
| |
|
const AlgoPerformance & | getPerf () const |
| |
|
virtual void | setGraph (GraphOfProcess *processes) |
| |
|
GraphOfProcess * | getGraph () const |
| |
|
BlockState | getState () const |
| |
|
void | setState (BlockState val) |
| |
|
BlockType | getExecType () const |
| |
|
void | setExecType (BlockType val) |
| |
|
unsigned int | getNbRendering () const |
| |
|
unsigned int | getTimestamp () |
| |
|
std::string | getErrorInfo () |
| |
|
bool | validateParams (std::string param, const ParamValue val) |
| |
|
bool | isReadyToRun (bool realCheck=false) |
| | if realCheck is true, we look for links being ready to consume
|
| |
|
void | addCondition (ConditionOfRendering &c) |
| |
std::vector
< ConditionOfRendering > & | getConditions () |
| |
|
virtual void | setParamValue (std::string nameParam_, ParamValue *value) |
| |
|
virtual void | setParam (std::string nameParam_, ParamValue value) |
| |
|
virtual ParamValue * | getParam (std::string nameParam_, bool input) |
| |
|
virtual std::vector< cv::String > | getSubParams (std::string paramName) |
| |
|
bool | isStartingBlock () |
| |
|
bool | isAncestor (Block *other) |
| |
|
bool | hasNewParameters () |
| |
|
void | wakeUpFromConsumers () |
| |
|
void | notifyProduction () |
| |
|
void | wakeUpFromPause () |
| |
|
void | waitConsumers (boost::unique_lock< boost::mutex > &lock) |
| |
|
void | waitProducers (boost::unique_lock< boost::mutex > &lock) |
| |
|
boost::mutex & | getMutex () |
| |
|
boost::mutex & | getMutexTimestamp () |
| |
|
std::vector< BlockLink > | getInEdges () |
| |
|
std::string | getErrorMsg () |
| |
|
const cv::Point2f & | getPosition () const |
| |
|
const cv::Point2f & | getSizeIncrement () const |
| |
|
void | updatePosition (float x, float y) |
| |
|
void | linkParam (std::string paramName, Block *dest, std::string paramNameDest) |
| |
|
virtual boost::property_tree::ptree | getXML () |
| |
|
virtual void | initFromXML (boost::property_tree::ptree *tree, std::vector< std::pair< ParamValue *, unsigned int > > &toUpdate, std::map< unsigned int, ParamValue * > &addressesMap, std::vector< ConditionOfRendering * > &condToUpdate) |
| |
|
void | setPosition (int x, int y, float incX, float incY) |
| |
|
void | setIncrSize (float incX, float incY) |
| |
|
void | removeCondition () |
| |
|
void | update () |
| | Re-run this block. If links exist, this will also render every ancestors.
|
| |
|
bool | shouldExecuteOnlyOnce () const |
| |
|
void | setExecuteOnlyOnce (bool val) |
| |
|
std::vector< ParamDefinition * > & | getInParams () |
| |
|
std::vector< ParamDefinition * > & | getOutParams () |
| |
std::map< std::string,
ParamValue > const & | getInputsVals () const |
| |
std::map< std::string,
ParamValue > const & | getOutputsVals () const |
| |
|
ParamDefinition | getDef (std::string name, bool isInput) const |
| |