VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Friends
makVrv::DtConfigurationCollection< ConfigurationType > Class Template Reference

template<typename ConfigurationType>
class makVrv::DtConfigurationCollection< ConfigurationType >

A collection of configurations.

Inheritance diagram for makVrv::DtConfigurationCollection< ConfigurationType >:
Inheritance graph
[legend]

Public Types

typedef std::vector
< ConfigurationType * > 
Configurations
 
typedef Configurations::iterator iterator
 
typedef
Configurations::const_iterator 
const_iterator
 

Public Member Functions

 DtConfigurationCollection ()
 
 DtConfigurationCollection (const DtConfigurationCollection &copy)
 
DtConfigurationCollectionoperator= (const DtConfigurationCollection &copy)
 
virtual ~DtConfigurationCollection ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
virtual ConfigurationType & add (const ConfigurationType &orig)
 
virtual void destroyConfiguration (ConfigurationType *config)
 
size_t size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const Configurationsconfigurations () const
 
void addConfigurations (const Configurations &configs)
 
void destroyAll ()
 
virtual ConfigurationType * findConfiguration (const std::string &name)
 
virtual const ConfigurationType * findConfiguration (const std::string &name) const
 

Protected Attributes

Configurations myConfigurations
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

template<typename ConfigurationType>
typedef std::vector<ConfigurationType*> makVrv::DtConfigurationCollection< ConfigurationType >::Configurations
template<typename ConfigurationType>
typedef Configurations::iterator makVrv::DtConfigurationCollection< ConfigurationType >::iterator
template<typename ConfigurationType>
typedef Configurations::const_iterator makVrv::DtConfigurationCollection< ConfigurationType >::const_iterator

Constructor & Destructor Documentation

template<typename ConfigurationType>
makVrv::DtConfigurationCollection< ConfigurationType >::DtConfigurationCollection ( )
inline
template<typename ConfigurationType>
makVrv::DtConfigurationCollection< ConfigurationType >::DtConfigurationCollection ( const DtConfigurationCollection< ConfigurationType > &  copy)
inline
template<typename ConfigurationType>
virtual makVrv::DtConfigurationCollection< ConfigurationType >::~DtConfigurationCollection ( )
inlinevirtual

Member Function Documentation

template<typename ConfigurationType>
DtConfigurationCollection& makVrv::DtConfigurationCollection< ConfigurationType >::operator= ( const DtConfigurationCollection< ConfigurationType > &  copy)
inline
template<typename ConfigurationType>
template<class Archive >
void makVrv::DtConfigurationCollection< ConfigurationType >::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

When the class Archive corresponds to an output archive, the & operator is defined similar to <<. Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.

template<typename ConfigurationType>
virtual ConfigurationType& makVrv::DtConfigurationCollection< ConfigurationType >::add ( const ConfigurationType &  orig)
inlinevirtual
template<typename ConfigurationType>
virtual void makVrv::DtConfigurationCollection< ConfigurationType >::destroyConfiguration ( ConfigurationType *  config)
inlinevirtual

Destroys a Channel configuration. Now the pointer must be a member of the channel Configuration. There is no operation performed if the configuration pointer is not found or is NULL.

To remove the 3rd channel
ChannelConfigurationList::iterator iter = channelConfigurations().begin();
std::advance(iter,2);
removeChannelConfiguration(*iter);
To remove the channel named 'Secondary'
removeChannelConfiguration(findChannelConfiguration("Secondary"));
template<typename ConfigurationType>
size_t makVrv::DtConfigurationCollection< ConfigurationType >::size ( void  ) const
inline
template<typename ConfigurationType>
iterator makVrv::DtConfigurationCollection< ConfigurationType >::begin ( )
inline
template<typename ConfigurationType>
const_iterator makVrv::DtConfigurationCollection< ConfigurationType >::begin ( ) const
inline
template<typename ConfigurationType>
iterator makVrv::DtConfigurationCollection< ConfigurationType >::end ( )
inline
template<typename ConfigurationType>
const_iterator makVrv::DtConfigurationCollection< ConfigurationType >::end ( ) const
inline
template<typename ConfigurationType>
const Configurations& makVrv::DtConfigurationCollection< ConfigurationType >::configurations ( ) const
inline

Get the channels for this window.

template<typename ConfigurationType>
void makVrv::DtConfigurationCollection< ConfigurationType >::addConfigurations ( const Configurations configs)
inline
template<typename ConfigurationType>
void makVrv::DtConfigurationCollection< ConfigurationType >::destroyAll ( )
inline
template<typename ConfigurationType>
virtual ConfigurationType* makVrv::DtConfigurationCollection< ConfigurationType >::findConfiguration ( const std::string &  name)
inlinevirtual

Return the configuration associated with name or null if one doesn't exist.

template<typename ConfigurationType>
virtual const ConfigurationType* makVrv::DtConfigurationCollection< ConfigurationType >::findConfiguration ( const std::string &  name) const
inlinevirtual

Return the configuration associated with name or null if one doesn't exist.

Friends And Related Function Documentation

template<typename ConfigurationType>
friend class boost::serialization::access
friend

Member Data Documentation

template<typename ConfigurationType>
Configurations makVrv::DtConfigurationCollection< ConfigurationType >::myConfigurations
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)