10 #ifndef ossimImageChainMtAdaptor_HEADER 11 #define ossimImageChainMtAdaptor_HEADER 84 bool makeInputConnection=
true,
85 bool createEventFlag=
true);
89 void deleteReplicas();
104 std::vector< ossimRefPtr<ossimImageSource> >
m_clones;
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=NULL)
Will load the state.
ossimRefPtr< ossimImageChain > m_adaptedChain
This is the adaptee image chain.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &tileRect, ossim_uint32 resLevel=0)
Within the image chain will pass the head of the list.
virtual void processEvent(ossimEvent &event)
ProcessEvent.
ossim_uint32 getNumberOfClones() const
Returns the number of clones available. The original chain always counts as the first clone...
void setNumberOfThreads(ossim_uint32 num_threads)
Specifies number of thread to support.
void setUseSharedHandlers(bool use_shared_handlers)
SharedHandlerList m_sharedHandlers
Represents serializable keyword/value map.
std::vector< ossimRefPtr< ossimImageSource > > m_clones
List of replicated child chains' first source (the one receiving the getTile call).
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=NULL) const
Will save the state of the chain.
virtual void initialize()
ossim_uint32 d_cacheTileSize
std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
ossim_uint32 m_numThreads
void setUseCache(bool use_cache)
virtual ossimConnectableObject::ConnectableObjectList & imageChainList()
These access methods greatly facilitate the implementation of an image chain adaptor class...
unsigned int ossim_uint32
This class supports multi-threading of image chain getTile() requests and associated chain updating...
virtual ossim_int32 connectMyOutputTo(ossimConnectableObject *outputObject, bool makeInputConnection=true, bool createEventFlag=true)
Will try to connect this objects output to the passed in object.
This class manages the sequencing of tile requests across multiple threads.
std::vector< ossimRefPtr< ossimImageHandlerMtAdaptor > > SharedHandlerList
List of handlers that are being shared among all clones (if requested).
std::vector< ossimRefPtr< ossimConnectableContainer > > m_chainContainers
The container objects must be kept alive in this vector while their child chains in m_clones are used...
void setCacheTileSize(ossim_uint32 cache_tile_size)