PiPo
Plug In Plug Out / Plugin Interface for Processing Objects
PiPoHost Class Reference
Inheritance diagram for PiPoHost:
PiPo::Parent

Public Member Functions

 PiPoHost (PiPoObserver *obs)
 
PiPoObservergetObs ()
 
void onNewFrame (double time, std::vector< PiPoValue > &frame)
 
std::vector< PiPoValue > getLastFrame ()
 
PiPosetPiPoChain (std::string name)
 
void clearPiPoChain ()
 
void propagateInputAttributes ()
 
void setInputHasTimeTags (bool hasTimeTags, bool propagate=true)
 
void setInputFrameRate (double rate, bool propagate=true)
 
void setInputFrameOffset (double offset, bool propagate=true)
 
void setInputDims (int width, int height, bool propagate=true)
 
void setInputLabels (const std::vector< std::string > &labels, bool propagate=true)
 
void setInputHasVarSize (bool hasVarSize, bool propagate=true)
 
void setInputDomain (double domain, bool propagate=true)
 
void setInputMaxFrames (int maxFrames, bool propagate=true)
 
bool getInputHasTimeTags ()
 
double getInputFrameRate ()
 
double getInputFrameOffset ()
 
void getInputDims (int &width, int &height)
 
void getInputLabels (std::vector< std::string > &labels)
 
bool getInputHasVarSize ()
 
double getInputDomain ()
 
int getInputMaxFrames ()
 
bool getOutputHasTimeTags ()
 
double getOutputFrameRate ()
 
double getOutputFrameOffset ()
 
void getOutputDims (int &width, int &height)
 
void getOutputLabels (std::vector< std::string > &labels)
 
bool getOutputHasVarSize ()
 
double getOutputDomain ()
 
int getOutputMaxFrames ()
 
- Public Member Functions inherited from PiPo::Parent
virtual void streamAttributesChanged (PiPo *pipo, PiPo::Attr *attr)
 
virtual void signalError (PiPo *pipo, std::string errorMsg)
 
virtual void signalWarning (PiPo *pipo, std::string errorMsg)
 

Friends

class PiPoOut