ClusterFactory class.
More...
#include <ObjectFactories.h>
|
PandoraContentApi::Cluster::Parameters * | NewParameters () const |
| Create new parameters instance on the heap (memory-management to be controlled by user) More...
|
|
pandora::StatusCode | Read (PandoraContentApi::Cluster::Parameters ¶meters, pandora::FileReader &fileReader) const |
| Read any additional (derived class only) object parameters from file using the specified file reader. More...
|
|
pandora::StatusCode | Write (const pandora::Cluster *const pCluster, pandora::FileWriter &fileWriter) const |
| Persist any additional (derived class only) object parameters using the specified file writer. More...
|
|
pandora::StatusCode | Create (const PandoraContentApi::Cluster::Parameters ¶meters, const pandora::Cluster *&pCluster) const |
| Create an object with the given parameters. More...
|
|
pandora::StatusCode april_content::ClusterFactory::Create |
( |
const PandoraContentApi::Cluster::Parameters & |
parameters, |
|
|
const pandora::Cluster *& |
pCluster |
|
) |
| const |
|
private |
Create an object with the given parameters.
- Parameters
-
parameters | the parameters to pass in constructor |
pObject | to receive the address of the object created |
PandoraContentApi::Cluster::Parameters * april_content::ClusterFactory::NewParameters |
( |
| ) |
const |
|
private |
Create new parameters instance on the heap (memory-management to be controlled by user)
- Returns
- the address of the new parameters instance
pandora::StatusCode april_content::ClusterFactory::Read |
( |
PandoraContentApi::Cluster::Parameters & |
parameters, |
|
|
pandora::FileReader & |
fileReader |
|
) |
| const |
|
private |
Read any additional (derived class only) object parameters from file using the specified file reader.
- Parameters
-
parameters | the parameters to pass in constructor |
fileReader | the file reader, used to extract any additional parameters from file |
pandora::StatusCode april_content::ClusterFactory::Write |
( |
const pandora::Cluster *const |
pCluster, |
|
|
pandora::FileWriter & |
fileWriter |
|
) |
| const |
|
private |
Persist any additional (derived class only) object parameters using the specified file writer.
- Parameters
-
pCluster | the address of the object to persist |
fileWriter | the file writer |
The documentation for this class was generated from the following files: